module ErEmail class Engine < ::Rails::Engine initializer "er_email" do OrbitApp.registration "ErEmail",:type=> 'ModuleApp' do module_label 'er_email.er_email' base_url File.expand_path File.dirname(__FILE__) # personal_plugin :enable => true,:path=>"panel/er_email/plugin/profile",:i18n=>'er_email.er_email' version "0.1" organization "Rulingcom" author "RD dep" intro "I am intro" update_info 'some update_info' authorizable approvable categorizable side_bar do head_label_i18n 'er_email.er_email',:icon_class=>"icons-paperplane" available_for [:admin,:guest,:manager,:sub_manager] active_for_controllers ({:private=>['email_er_categorys','email_ers', 'categories']}) active_for_object_auth ['EmailErCategory'] head_link_path "panel_er_email_back_end_email_ers_path" context_link 'all', :link_path=>"panel_er_email_back_end_email_ers_path" , :priority=>1, :active_for_action=>{:email_ers=>:index}, :available_for => [:all] context_link 'add', :link_path=>"new_panel_er_email_back_end_email_er_path" , :priority=>2, :active_for_action=>{:email_ers=>:new}, :available_for => [:sub_manager] context_link 'categories', :link_path=>"admin_module_app_categories_path(get_module_app)" , :priority=>3, :active_for_category => 'ErEmail', :available_for => [:manager] end end end end end