summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/creates_commit.rb
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-07-01 17:46:37 +0100
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-07-12 15:22:54 +0100
commitac30c60ad9379187e41629ac56c96bd02df6996e (patch)
tree34278f2eaab90e9a2f4f67dc81d2d1be0104a2da /app/controllers/concerns/creates_commit.rb
parentb34310ae9e9d3d4331b38f1acf4a51e2247b76ac (diff)
downloadgitlab-ce-ac30c60ad9379187e41629ac56c96bd02df6996e.tar.gz
successfully adds the new version with the updated name on the projects repo
Diffstat (limited to 'app/controllers/concerns/creates_commit.rb')
-rw-r--r--app/controllers/concerns/creates_commit.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/concerns/creates_commit.rb b/app/controllers/concerns/creates_commit.rb
index dacb5679dd3..84b4a30c6d5 100644
--- a/app/controllers/concerns/creates_commit.rb
+++ b/app/controllers/concerns/creates_commit.rb
@@ -7,7 +7,8 @@ module CreatesCommit
commit_params = @commit_params.merge(
source_project: @project,
source_branch: @ref,
- target_branch: @target_branch
+ target_branch: @target_branch,
+ file_path: @path
)
result = service.new(@tree_edit_project, current_user, commit_params).execute