Commit aeec708f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets Committed by Valery Sizov

Revert "Fix adding new file to empty repo"

This reverts commit 27a15850.
Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 3ffd6388
...@@ -42,7 +42,7 @@ module Files ...@@ -42,7 +42,7 @@ module Files
params[:new_branch] params[:new_branch]
) )
else else
created_successfully = repository.commit_file( created_successfull = repository.commit_file(
current_user, current_user,
file_path, file_path,
params[:content], params[:content],
......
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