diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-01-05 03:01:16 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-01-05 03:01:16 +0800 |
commit | 9244c81bc5f1c74966cb3ecb7b099fe7fd33689f (patch) | |
tree | 2e59e49afbb7b99c886a4c03fa5468f49bf8d727 /app | |
parent | e01c692a35d817c09416356b549f473f63d78dc8 (diff) | |
download | gitlab-ce-9244c81bc5f1c74966cb3ecb7b099fe7fd33689f.tar.gz |
I think I am really confused, should be @tree_edit_project
Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7237#note_20571990
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/concerns/creates_commit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/creates_commit.rb b/app/controllers/concerns/creates_commit.rb index 9d41c559b0b..a2e1d7c4653 100644 --- a/app/controllers/concerns/creates_commit.rb +++ b/app/controllers/concerns/creates_commit.rb @@ -13,7 +13,7 @@ module CreatesCommit ) result = service.new( - @mr_target_project, current_user, commit_params).execute + @tree_edit_project, current_user, commit_params).execute if result[:status] == :success update_flash_notice(success_notice) |