Fix approval in index
This commit is contained in:
1 parent
2c331bf1a5
commit
1c4b66f1cb
9 files changed
+76
-66
No files matched your search
Vendored
-2
@@ -1,7 +1,5 @@
|
||||
<% set_default_index do
|
||||
objects @bulletins
|
||||
approvable
|
||||
authorization
|
||||
filterable
|
||||
sortable
|
||||
quick_edit_link type: 'edit',
|
||||
|
||||
+1
-10
@@ -26,6 +26,7 @@ module Announcement
|
||||
data_count 3..10
|
||||
|
||||
authorizable
|
||||
approvable
|
||||
categorizable
|
||||
taggable
|
||||
|
||||
@@ -84,16 +85,6 @@ module Announcement
|
||||
:priority=>4,
|
||||
:active_for_tag => 'Announcement',
|
||||
:available_for => [:manager]
|
||||
context_link 'approval_setting',
|
||||
:link_path=>"admin_authorizations_path(get_module_app.key, 'approval')" ,
|
||||
:priority=>5,
|
||||
:active_for_action=>{:approvals=>:setting},
|
||||
:active_for_object_auth => 'BulletinCategory',
|
||||
:available_for => [:manager]
|
||||
context_link 'module_authorization',
|
||||
:link_path=>"admin_authorizations_path(get_module_app.key)",
|
||||
:priority=>6,
|
||||
:available_for => [:manager]
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user