Update arguments for Gitlab::Satellite::EditFileAction#initialize
This commit is contained in:
parent
55779b00ea
commit
5f16687805
2 changed files with 7 additions and 7 deletions
|
@ -26,9 +26,8 @@ class TreeController < ProjectResourceController
|
|||
end
|
||||
|
||||
def update
|
||||
file_editor = Gitlab::Satellite::EditFileAction.new(current_user, @project, @ref)
|
||||
file_editor = Gitlab::Satellite::EditFileAction.new(current_user, @project, @ref, @path)
|
||||
update_status = file_editor.update(
|
||||
@path,
|
||||
params[:content],
|
||||
params[:commit_message],
|
||||
params[:last_commit]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue