module Space class Engine < ::Rails::Engine initializer "space" do OrbitApp.registration "Space", :type => "ModuleApp" do module_label "space.space" base_url File.expand_path File.dirname(__FILE__) frontend_enabled side_bar do head_label_i18n 'space.space', icon_class: "icons-leaf" available_for "users" active_for_controllers (['admin/spaces']) head_link_path "admin_spaces_path" context_link 'space.buildings', :link_path=>"admin_spaces_path" , :priority=>1, :active_for_action=>{'admin/spaces'=>'index'}, :available_for => 'users' end end end end end