completed the plugin
This commit is contained in:
1 parent
49f039c64b
commit
352fdfa76c
17 files changed
+728
-6
No files matched your search
+11
-1
@@ -12,8 +12,18 @@ module Faq
|
||||
side_bar do
|
||||
head_label_i18n 'faq.faq', icon_class: "icons-help"
|
||||
available_for [:admin,:manager,:sub_manager]
|
||||
active_for_controllers ({:private=>['faq']})
|
||||
active_for_controllers (['admin/faqs'])
|
||||
head_link_path "admin_faqs_path"
|
||||
|
||||
context_link 'faq.all',
|
||||
:link_path=>"admin_faqs_path" ,
|
||||
:priority=>1,
|
||||
:active_for_action=>{'admin/faqs'=>"index"}
|
||||
|
||||
context_link 'faq.new',
|
||||
:link_path=>"new_admin_faq_path" ,
|
||||
:priority=>2,
|
||||
:active_for_action=>{'admin/faqs'=>"new"}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user