module_generator/template_generator/lib/module_template/engine.rb

22 lines
973 B
Ruby
Raw Normal View History

2023-10-04 13:02:40 +00:00
module ModuleTemplate
class Engine < ::Rails::Engine
initializer "module_template" do
OrbitApp.registration "ModuleTemplate",:type=> 'ModuleApp' do
module_label 'module_key.module_modal_templates'
base_url File.expand_path File.dirname(__FILE__)
module :enable => true, :sort_number => '35', :app_name=>"ModuleModalTemplate", :intro_app_name=>"ModuleModalTemplateIntro",:path=>"/plugin/module_template/profile",:front_path=>"/profile",:admin_path=>"/admin/module_modal_templates/",:i18n=>'module_key.module_modal_templates', :module_app_name=>'ModuleModalTemplate', :one_line_title => enable_one_line_title, :field_modifiable => true, :analysis => true, :analysis_path => "/admin/module_modal_templates/analysis"
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