Fixed engine initializer
This commit is contained in:
parent
d8c5de1332
commit
c7225e7b89
|
@ -1,8 +1,8 @@
|
||||||
module PersonalExperience
|
module PersonalExperience
|
||||||
class Engine < ::Rails::Engine
|
class Engine < ::Rails::Engine
|
||||||
initializer "personal_conference" do
|
initializer "personal_experience" do
|
||||||
OrbitApp.registration "PersonalConference",:type=> 'ModuleApp' do
|
OrbitApp.registration "PersonalExperience",:type=> 'ModuleApp' do
|
||||||
module_label 'module_name.personal_conference'
|
module_label 'module_name.personal_experience'
|
||||||
base_url File.expand_path File.dirname(__FILE__)
|
base_url File.expand_path File.dirname(__FILE__)
|
||||||
personal_plugin :enable => true, :sort_number => '45', :app_name=>"Experience", :intro_app_name=>"PersonalExperienceIntro",:path=>"/plugin/profile",:front_path=>"/profile",:admin_path=>"/admin/experiences",:i18n=>'module_name.personal_experience'
|
personal_plugin :enable => true, :sort_number => '45', :app_name=>"Experience", :intro_app_name=>"PersonalExperienceIntro",:path=>"/plugin/profile",:front_path=>"/profile",:admin_path=>"/admin/experiences",:i18n=>'module_name.personal_experience'
|
||||||
version "0.1"
|
version "0.1"
|
||||||
|
|
Loading…
Reference in New Issue