Add tag for ask_question.
This commit is contained in:
1 parent
a4db1fcd2f
commit
3caa63bb46
2 files changed
+9
-9
No files matched your search
+8
-8
@@ -122,7 +122,7 @@ module Ask
|
||||
end
|
||||
widget_methods ["widget"]
|
||||
widget_settings [{"data_count"=>10}]
|
||||
# taggable "AskQuestion"
|
||||
taggable "AskQuestion"
|
||||
begin
|
||||
show_option_items data_item
|
||||
rescue => e
|
||||
@@ -144,13 +144,6 @@ module Ask
|
||||
:priority=>1,
|
||||
:active_for_action=>{'admin/asks'=>'index'},
|
||||
:available_for => 'users'
|
||||
# context_link 'tags',
|
||||
# :link_path=>"admin_module_app_tags_path" ,
|
||||
# :link_arg=>"{:module_app_id=>ModuleApp.find_by(:key=>'ask').id}",
|
||||
# :priority=>4,
|
||||
# :active_for_action=>{'admin/ask'=>'tags'},
|
||||
# :active_for_tag => 'Ask',
|
||||
# :available_for => 'managers'
|
||||
context_link 'ask.setting',
|
||||
:link_path=>"setting_admin_asks_path" ,
|
||||
:priority=>2,
|
||||
@@ -183,6 +176,13 @@ module Ask
|
||||
:active_for_action=>{'admin/asks'=>'categories'},
|
||||
:active_for_category => 'Ask',
|
||||
:available_for => 'managers'
|
||||
context_link 'tags',
|
||||
:link_path=>"admin_module_app_tags_path" ,
|
||||
:link_arg=>"{:module_app_id=>ModuleApp.find_by(:key=>'ask').id}",
|
||||
:priority=>7,
|
||||
:active_for_action=>{'admin/ask'=>'tags'},
|
||||
:active_for_tag => 'Ask',
|
||||
:available_for => 'managers'
|
||||
context_link 'ask.acknowledgements',
|
||||
:link_path=>"admin_ask_acknowledgements_path" ,
|
||||
:priority=>8,
|
||||
|
||||
Reference in new issue
Block a user