personal-honor/lib/personal_honor/engine.rb

19 lines
637 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-02 09:37:34 +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'
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'
end
end
end
end