Commit 85c0a047 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Resolve a few conflicts

parent 837df4c8
class Admin::LogsController < Admin::ApplicationController class Admin::LogsController < Admin::ApplicationController
<<<<<<< HEAD
prepend EE::Admin::LogsController prepend EE::Admin::LogsController
=======
>>>>>>> upstream/master
before_action :loggers before_action :loggers
def show def show
......
module Boards module Boards
class IssuesController < Boards::ApplicationController class IssuesController < Boards::ApplicationController
<<<<<<< HEAD
prepend EE::BoardsResponses prepend EE::BoardsResponses
prepend EE::Boards::IssuesController prepend EE::Boards::IssuesController
=======
>>>>>>> upstream/master
include BoardsResponses include BoardsResponses
before_action :authorize_read_issue, only: [:index] before_action :authorize_read_issue, only: [:index]
...@@ -15,11 +12,7 @@ module Boards ...@@ -15,11 +12,7 @@ module Boards
def index def index
issues = Boards::Issues::ListService.new(board_parent, current_user, filter_params).execute issues = Boards::Issues::ListService.new(board_parent, current_user, filter_params).execute
issues = issues.page(params[:page]).per(params[:per] || 20) issues = issues.page(params[:page]).per(params[:per] || 20)
<<<<<<< HEAD
make_sure_position_is_set(issues) unless Gitlab::Geo.secondary? make_sure_position_is_set(issues) unless Gitlab::Geo.secondary?
=======
make_sure_position_is_set(issues)
>>>>>>> upstream/master
render json: { render json: {
issues: serialize_as_json(issues.preload(:project)), issues: serialize_as_json(issues.preload(:project)),
......
...@@ -127,14 +127,9 @@ class Member < ActiveRecord::Base ...@@ -127,14 +127,9 @@ class Member < ActiveRecord::Base
find_by(invite_token: invite_token) find_by(invite_token: invite_token)
end end
<<<<<<< HEAD def add_user(source, user, access_level, existing_members: nil, current_user: nil, expires_at: nil, ldap: false)
def add_user(source, user, access_level, current_user: nil, expires_at: nil, ldap: false)
user = retrieve_user(user)
=======
def add_user(source, user, access_level, existing_members: nil, current_user: nil, expires_at: nil)
# `user` can be either a User object, User ID or an email to be invited # `user` can be either a User object, User ID or an email to be invited
member = retrieve_member(source, user, existing_members) member = retrieve_member(source, user, existing_members)
>>>>>>> upstream/master
access_level = retrieve_access_level(access_level) access_level = retrieve_access_level(access_level)
return member unless can_update_member?(current_user, member) return member unless can_update_member?(current_user, member)
......
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