personal-honor/lib/personal_honor/engine.rb

24 lines
811 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__)
2016-03-21 11:02:08 +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', :field_modifiable => true
2014-06-04 07:12:58 +00:00
version "0.1"
2014-12-04 09:55:01 +00:00
desktop_enabled true
2014-06-04 07:12:58 +00:00
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-07-18 07:03:24 +00:00
data_count 1..10
2014-06-04 07:12:58 +00:00
end
end
end
end