personal-journal1/lib/personal_journal/engine.rb

19 lines
655 B
Ruby
Raw Normal View History

2014-06-04 03:55:13 +00:00
module PersonalJournal
class Engine < ::Rails::Engine
2014-06-12 10:27:26 +00:00
initializer "personal_journal" do
2014-06-04 03:55:13 +00:00
OrbitApp.registration "PersonalJournal",:type=> 'ModuleApp' do
2014-06-25 13:43:04 +00:00
module_label 'module_name.journal_paper'
2014-06-04 03:55:13 +00:00
base_url File.expand_path File.dirname(__FILE__)
2014-06-25 13:43:04 +00:00
personal_plugin :enable => true, :sort_number => '5', :app_name=>"JournalPaper", :intro_app_name=>"JournalPaperlIntro",:path=>"/plugin/journal_paper/profile",:front_path=>"/profile",:admin_path=>"/admin/journal_papers/",:i18n=>'module_name.journal_paper'
2014-06-04 03:55:13 +00:00
version "0.1"
organization "Rulingcom"
author "RD dep"
intro "I am intro"
update_info 'some update_info'
end
end
end
end