personal-honor/lib/personal_honor/engine.rb

21 lines
736 B
Ruby
Raw Normal View History

2014-06-04 07:12:58 +00:00
module PersonalHonor
class Engine < ::Rails::Engine
2014-06-04 07:16:45 +00:00
initializer "personal_honor" do
2014-06-04 07:12:58 +00:00
OrbitApp.registration "PersonalHonor",:type=> 'ModuleApp' do
module_label 'module_name.personal_honor'
base_url File.expand_path File.dirname(__FILE__)
2014-07-03 04:53:38 +00:00
personal_plugin :enable => true, :sort_number => '50', :app_name=>"Honor", :intro_app_name=>"PersonalHonorIntro",:path=>"/plugin/personal_honor/profile",:front_path=>"/profile",:admin_path=>"/admin/honors",:i18n=>'module_name.personal_honor', :module_app_name=>'PersonalHonor'
2014-06-04 07:12:58 +00:00
version "0.1"
organization "Rulingcom"
author "RD dep"
intro "I am intro"
update_info 'some update_info'
2014-07-03 04:53:38 +00:00
frontend_enabled
icon_class_no_sidebar "icons-user"
2014-06-04 07:12:58 +00:00
end
end
end
end