Commit 50613fc6 authored by tiagonbotelho's avatar tiagonbotelho

implements the form for renaming the new filename on the file edit page

parent 9cd65d34
...@@ -52,6 +52,7 @@ class Projects::BlobController < Projects::ApplicationController ...@@ -52,6 +52,7 @@ class Projects::BlobController < Projects::ApplicationController
@previous_path = @path @previous_path = @path
@path = params[:file_name] @path = params[:file_name]
end end
namespace_project_blob_path(@project.namespace, @project, File.join(@target_branch, @path)) namespace_project_blob_path(@project.namespace, @project, File.join(@target_branch, @path))
end end
......
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