summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorRubén Dávila <rdavila84@gmail.com>2016-02-08 15:45:56 -0500
committerRobert Speicher <rspeicher@gmail.com>2016-02-19 13:14:52 -0500
commit9d4c105ab0054d99ae43675e758af6b8098a191a (patch)
tree3c731a900c7eeb3281b049e6db6bab80019b528a /app/controllers
parenta28eef1d1a871c14142d01f1ef8c76660da34c21 (diff)
downloadgitlab-ce-9d4c105ab0054d99ae43675e758af6b8098a191a.tar.gz
Remove code introduced when endpoint was in MR controller.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/merge_requests_controller.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/projects/merge_requests_controller.rb b/app/controllers/projects/merge_requests_controller.rb
index fc3b28c0f26..9d588c370aa 100644
--- a/app/controllers/projects/merge_requests_controller.rb
+++ b/app/controllers/projects/merge_requests_controller.rb
@@ -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]