personal-journal/lib/personal_journal/engine.rb

19 lines
651 B
Ruby

module PersonalJournal
class Engine < ::Rails::Engine
initializer "personal_journal" do
OrbitApp.registration "PersonalJournal",:type=> 'ModuleApp' do
module_label 'module_name.personal_journal'
base_url File.expand_path File.dirname(__FILE__)
personal_plugin :enable => true, :sort_number => '5', :app_name=>"JournalPaper", :intro_app_name=>"PersonalJournalIntro",:path=>"/plugin/profile",:front_path=>"/profile",:admin_path=>"/admin/writing_journals",:i18n=>'module_name.personal_journal'
version "0.1"
organization "Rulingcom"
author "RD dep"
intro "I am intro"
update_info 'some update_info'
end
end
end
end