Commit 9244c81b authored by Lin Jen-Shin's avatar Lin Jen-Shin

I think I am really confused, should be @tree_edit_project

Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7237#note_20571990
parent e01c692a
......@@ -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)
......
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