This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/vendor/built_in_modules/asset/init.rb

21 lines
823 B
Ruby
Raw Normal View History

module Asset
OrbitApp.registration "Asset",:type=> 'ModuleApp' do
module_label 'module_name.asset'
base_url File.expand_path File.dirname(__FILE__)
# 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