diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-18 16:14:12 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-18 16:14:12 +0100 |
commit | f4f4a6b5303a0889f3fdb1bfe0bb014a6788c4d6 (patch) | |
tree | 5db5d07a749d974d1afeb5050a9157112a1d687b /app/controllers/projects/tree_controller.rb | |
parent | 0ac57a540d245a24219519c4093d15b8ab2f536c (diff) | |
download | gitlab-ce-f4f4a6b5303a0889f3fdb1bfe0bb014a6788c4d6.tar.gz |
Fix specs and behavior for LFS files
Diffstat (limited to 'app/controllers/projects/tree_controller.rb')
-rw-r--r-- | app/controllers/projects/tree_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/tree_controller.rb b/app/controllers/projects/tree_controller.rb index 4f78bde2d2d..cb3ed0f6f9c 100644 --- a/app/controllers/projects/tree_controller.rb +++ b/app/controllers/projects/tree_controller.rb @@ -35,7 +35,7 @@ class Projects::TreeController < Projects::ApplicationController return render_404 unless @commit_params.values.all? create_commit(Files::CreateDirService, success_notice: "The directory has been successfully created.", - success_path: namespace_project_blob_path(@project.namespace, @project, File.join(@target_branch, @dir_name)), + success_path: namespace_project_tree_path(@project.namespace, @project, File.join(@target_branch, @dir_name)), failure_path: namespace_project_tree_path(@project.namespace, @project, @ref)) end |