diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-18 10:03:34 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-18 10:03:34 +0100 |
commit | d9c82d679fd622aead99aeb90369361a05e02a36 (patch) | |
tree | 6bc7986aafad7e0a3998c0a026573e9baf0cc032 /lib/api/files.rb | |
parent | 110a5f9c96457ac314f30630735dd827d9d96a4c (diff) | |
download | gitlab-ce-d9c82d679fd622aead99aeb90369361a05e02a36.tar.gz |
Automatically fork a project when not allowed to edit a file.
Diffstat (limited to 'lib/api/files.rb')
-rw-r--r-- | lib/api/files.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/files.rb b/lib/api/files.rb index a7a768f8895..8ad2c1883c7 100644 --- a/lib/api/files.rb +++ b/lib/api/files.rb @@ -7,7 +7,7 @@ module API def commit_params(attrs) { file_path: attrs[:file_path], - current_branch: attrs[:branch_name], + source_branch: attrs[:branch_name], target_branch: attrs[:branch_name], commit_message: attrs[:commit_message], file_content: attrs[:content], |