summaryrefslogtreecommitdiff
path: root/app/controllers/projects/branches_controller.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-06-23 10:44:10 +0100
committerPhil Hughes <me@iamphill.com>2017-06-23 10:44:10 +0100
commit6fb7fb5c1a44926511914080334774b21a5ee9af (patch)
tree4fdf8530c98576fd19c306a3c74540998bee9fd0 /app/controllers/projects/branches_controller.rb
parent3b53b553b78d20268d228afa596b53d18046f98e (diff)
parent801cf92310e9f6950dddba848ef1e6a3d1e48ef0 (diff)
downloadgitlab-ce-6fb7fb5c1a44926511914080334774b21a5ee9af.tar.gz
Merge branch 'master' into experimental-top-nav
Diffstat (limited to 'app/controllers/projects/branches_controller.rb')
-rw-r--r--app/controllers/projects/branches_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects/branches_controller.rb b/app/controllers/projects/branches_controller.rb
index 70b06cfd9b4..94a752c21eb 100644
--- a/app/controllers/projects/branches_controller.rb
+++ b/app/controllers/projects/branches_controller.rb
@@ -37,8 +37,8 @@ class Projects::BranchesController < Projects::ApplicationController
redirect_to_autodeploy = project.empty_repo? && project.deployment_services.present?
- result = CreateBranchService.new(project, current_user).
- execute(branch_name, ref)
+ result = CreateBranchService.new(project, current_user)
+ .execute(branch_name, ref)
if params[:issue_iid]
issue = IssuesFinder.new(current_user, project_id: @project.id).find_by(iid: params[:issue_iid])