personal-research/lib/personal_research/engine.rb

23 lines
921 B
Ruby
Raw Normal View History

2014-06-04 07:57:10 +00:00
module PersonalResearch
class Engine < ::Rails::Engine
initializer "personal_research" do
OrbitApp.registration "PersonalResearch",:type=> 'ModuleApp' do
module_label 'module_name.personal_research'
base_url File.expand_path File.dirname(__FILE__)
2016-06-03 10:38:10 +00:00
personal_plugin :enable => true, :sort_number => '20', :app_name=>"Research", :intro_app_name=>"PersonalResearchIntro",:path=>"/plugin/personal_research/profile",:front_path=>"/profile",:admin_path=>"/admin/researchs",:i18n=>'module_name.personal_research', :module_app_name=>"PersonalResearch", :analysis => true, :analysis_path => "/admin/researchs/analysis"
2014-06-04 07:57:10 +00:00
version "0.1"
2014-12-05 08:19:27 +00:00
desktop_enabled true
2014-06-04 07:57:10 +00:00
organization "Rulingcom"
author "RD dep"
intro "I am intro"
update_info 'some update_info'
authorizable
is_personal_plugin true
frontend_enabled
icon_class_no_sidebar "icons-user"
data_count 1..10
2014-06-04 07:57:10 +00:00
end
end
end
end