Skip to content
Snippets Groups Projects
Commit 9d4c105a authored by Rubén Dávila's avatar Rubén Dávila Committed by Robert Speicher
Browse files

Remove code introduced when endpoint was in MR controller.

parent a28eef1d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2,8 +2,7 @@ class Projects::MergeRequestsController < Projects::ApplicationController
before_action :module_enabled
before_action :merge_request, only: [
:edit, :update, :show, :diffs, :commits, :builds, :merge, :merge_check,
:ci_status, :toggle_subscription, :cancel_merge_when_build_succeeds,
:revert
:ci_status, :toggle_subscription, :cancel_merge_when_build_succeeds
]
before_action :closes_issues, only: [:edit, :update, :show, :diffs, :commits, :builds]
before_action :validates_merge_request, only: [:show, :diffs, :commits, :builds]
Loading
Loading
Loading
Loading
@@ -591,7 +591,6 @@ Rails.application.routes.draw do
post :cancel_merge_when_build_succeeds
get :ci_status
post :toggle_subscription
post :revert
end
 
collection do
Loading
Loading
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