forked from saurabh/orbit4-5
22 lines
629 B
Ruby
22 lines
629 B
Ruby
|
OrbitApp.registration "Category", type: 'ModuleApp' do
|
||
|
module_label 'module_name.category'
|
||
|
base_url File.expand_path File.dirname(__FILE__)
|
||
|
|
||
|
authorizable
|
||
|
|
||
|
side_bar do
|
||
|
head_label_i18n 'module_name.category', icon_class: "icons-flow-cascade"
|
||
|
head_link_path "admin_categories_path"
|
||
|
active_for_controllers (['admin/categories'])
|
||
|
|
||
|
# available_for [:admin, :manager]
|
||
|
|
||
|
# context_link 'all',
|
||
|
# link_path: "admin_categorys_path",
|
||
|
# priority: 1,
|
||
|
# active_for_action: {categorys: :index},
|
||
|
# available_for: [:admin, :manager]
|
||
|
|
||
|
end
|
||
|
end
|