personal-honor/lib/personal_honor/engine.rb

23 lines
873 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-06-06 09:15:12 +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, :analysis => true, :analysis_path => "/admin/honors/analysis"
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