personal-activity/lib/personal_activity/engine.rb

23 lines
996 B
Ruby
Raw Permalink Normal View History

2020-02-04 03:32:06 +00:00
module PersonalActivity
class Engine < ::Rails::Engine
initializer "personal_activity" do
OrbitApp.registration "PersonalActivity",:type=> 'ModuleApp' do
module_label 'module_name.personal_activity'
base_url File.expand_path File.dirname(__FILE__)
personal_plugin :enable => true, :sort_number => '20', :app_name=>"Activity", :intro_app_name=>"PersonalActivityIntro",:path=>"/plugin/personal_activity/profile",:front_path=>"/profile",:admin_path=>"/admin/activities",:i18n=>'module_name.personal_activity', :module_app_name=>'PersonalActivity', :one_line_title => true, :field_modifiable => true, :analysis => true, :analysis_path => "/admin/activities/analysis"
2020-02-04 03:32:06 +00:00
version "0.1"
desktop_enabled true
organization "Rulingcom"
author "RD dep"
intro "I am intro"
update_info 'some update_info'
frontend_enabled
2020-04-06 07:40:47 +00:00
data_count 1..30
2020-02-04 03:32:06 +00:00
icon_class_no_sidebar "icons-user"
end
end
end
end