Commit 1f65c326 authored by Nick Thomas's avatar Nick Thomas

Resolve conflicts in controllers

parent f9ba4c54
class Projects::MergeRequests::ApplicationController < Projects::ApplicationController class Projects::MergeRequests::ApplicationController < Projects::ApplicationController
<<<<<<< HEAD
prepend ::EE::Projects::MergeRequests::ApplicationController prepend ::EE::Projects::MergeRequests::ApplicationController
=======
>>>>>>> ce/master
before_action :check_merge_requests_available! before_action :check_merge_requests_available!
before_action :merge_request before_action :merge_request
before_action :authorize_read_merge_request! before_action :authorize_read_merge_request!
......
class Projects::MergeRequests::CreationsController < Projects::MergeRequests::ApplicationController class Projects::MergeRequests::CreationsController < Projects::MergeRequests::ApplicationController
include DiffForPath include DiffForPath
include DiffHelper include DiffHelper
<<<<<<< HEAD
prepend ::EE::Projects::MergeRequests::CreationsController prepend ::EE::Projects::MergeRequests::CreationsController
=======
>>>>>>> ce/master
skip_before_action :merge_request skip_before_action :merge_request
skip_before_action :ensure_ref_fetched skip_before_action :ensure_ref_fetched
......
...@@ -4,17 +4,12 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo ...@@ -4,17 +4,12 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
include RendersNotes include RendersNotes
include ToggleAwardEmoji include ToggleAwardEmoji
include IssuableCollections include IssuableCollections
prepend ::EE::Projects::MergeRequestsController
skip_before_action :merge_request, only: [:index, :bulk_update] prepend ::EE::Projects::MergeRequestsController
skip_before_action :ensure_ref_fetched, only: [:index, :bulk_update]
<<<<<<< HEAD
=======
skip_before_action :merge_request, only: [:index, :bulk_update] skip_before_action :merge_request, only: [:index, :bulk_update]
skip_before_action :ensure_ref_fetched, only: [:index, :bulk_update] skip_before_action :ensure_ref_fetched, only: [:index, :bulk_update]
>>>>>>> ce/master
before_action :authorize_update_merge_request!, only: [:close, :edit, :update, :remove_wip, :sort] before_action :authorize_update_merge_request!, only: [:close, :edit, :update, :remove_wip, :sort]
before_action :authenticate_user!, only: [:assign_related_issues] before_action :authenticate_user!, only: [:assign_related_issues]
......
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