Commit fcd5853c authored by Eugenia Grieff's avatar Eugenia Grieff

Fix lint by removing unnecessary rubocop:disable

parent 1a73f4e7
...@@ -181,7 +181,7 @@ module IssuableActions ...@@ -181,7 +181,7 @@ module IssuableActions
end end
def authorize_admin_issuable! def authorize_admin_issuable!
unless can?(current_user, :"admin_#{resource_name}", parent) # rubocop:disable Gitlab/ModuleWithInstanceVariables unless can?(current_user, :"admin_#{resource_name}", parent)
return access_denied! return access_denied!
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment