add delete button to the files in broadcast page
This commit is contained in:
@@ -18,4 +18,8 @@ class BroadcastPolicy < ApplicationPolicy
|
||||
def update?
|
||||
true
|
||||
end
|
||||
|
||||
def destroy_file?
|
||||
user.manager? || user.account_manager?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user