Skip to content
Snippets Groups Projects
Commit 98905642 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Ensure Projects::ApproversController inherits from Projects::ApplicationController

Fix gitlab-org/gitlab-ce#14503.
parent 886e2be7
Branches andrey-remove-group-caching
No related tags found
1 merge request!296Ensure Projects::ApproversController inherits from Projects::ApplicationController
Pipeline #
class Projects::ApproversController < ApplicationController
class Projects::ApproversController < Projects::ApplicationController
def destroy
if params[:merge_request_id]
authorize_create_merge_request!
Loading
Loading
@@ -8,7 +8,7 @@ def destroy
authorize_admin_project!
project.approvers.find(params[:id]).destroy
end
redirect_back_or_default(default: { action: 'index' })
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment