2013-07-02 08:46:44 +00:00
|
|
|
module Asset
|
|
|
|
OrbitApp.registration "Asset",:type=> 'ModuleApp' do
|
|
|
|
module_label 'module_name.asset'
|
|
|
|
base_url File.expand_path File.dirname(__FILE__)
|
|
|
|
|
2013-09-09 15:10:04 +00:00
|
|
|
taggable
|
2013-07-02 08:46:44 +00:00
|
|
|
# side_bar do
|
|
|
|
# head_label_i18n 'module_name.asset',:icon_class=>"icons-landscape"
|
|
|
|
# available_for [:admin,:guest,:manager,:sub_manager]
|
|
|
|
# active_for_controllers ({:public=>['admin/ad_banners', 'admin/ad_images']})
|
|
|
|
|
|
|
|
# head_link_path "admin_ad_banners_path"
|
|
|
|
|
|
|
|
# context_link 'module_authorization',
|
|
|
|
# :link_path=>"admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {title: 'AdBanner'}))",
|
|
|
|
# :priority=>6,
|
|
|
|
# :active_for_app_auth => 'ad_banners',
|
|
|
|
# :available_for => [:admin]
|
|
|
|
# end
|
|
|
|
end
|
|
|
|
end
|