Update arguments for Gitlab::Satellite::EditFileAction#initialize

This commit is contained in:
Riyad Preukschas 2012-10-26 00:39:23 +02:00
parent 55779b00ea
commit 5f16687805
2 changed files with 7 additions and 7 deletions

View file

@ -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]