Fixed engine initializer

This commit is contained in:
Saurabh Bhatia 2014-06-04 15:18:31 +08:00
parent d8c5de1332
commit c7225e7b89
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
module PersonalExperience
class Engine < ::Rails::Engine
initializer "personal_conference" do
OrbitApp.registration "PersonalConference",:type=> 'ModuleApp' do
module_label 'module_name.personal_conference'
initializer "personal_experience" do
OrbitApp.registration "PersonalExperience",:type=> 'ModuleApp' do
module_label 'module_name.personal_experience'
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'
version "0.1"