personal-certificate/lib/personal_certificate/engine.rb

22 lines
829 B
Ruby
Raw Normal View History

2016-03-09 07:05:14 +00:00
module PersonalCertificate
class Engine < ::Rails::Engine
initializer "personal_certificate" do
OrbitApp.registration "PersonalCertificate",:type=> 'ModuleApp' do
module_label 'module_name.certificates'
base_url File.expand_path File.dirname(__FILE__)
2016-03-21 10:08:25 +00:00
personal_plugin :enable => true, :sort_number => '35', :app_name=>"Certificate", :intro_app_name=>"CertificateIntro",:path=>"/plugin/personal_certificate/profile",:front_path=>"/profile",:admin_path=>"/admin/certificates/",:i18n=>'module_name.certificates', :module_app_name=>'Certificate', :field_modifiable => true
2016-03-09 07:05:14 +00:00
version "0.1"
desktop_enabled true
organization "Rulingcom"
author "RD dep"
intro "I am intro"
update_info 'some update_info'
frontend_enabled
icon_class_no_sidebar "icons-user"
data_count 1..10
end
end
end
end