BigW Consortium Gitlab

Commit 75e961dc by tiagonbotelho

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

parent ef0f4950
...@@ -43,8 +43,8 @@ class Projects::BlobController < Projects::ApplicationController ...@@ -43,8 +43,8 @@ class Projects::BlobController < Projects::ApplicationController
diffs_namespace_project_merge_request_path(from_merge_request.target_project.namespace, from_merge_request.target_project, from_merge_request) + diffs_namespace_project_merge_request_path(from_merge_request.target_project.namespace, from_merge_request.target_project, from_merge_request) +
"#file-path-#{hexdigest(@path)}" "#file-path-#{hexdigest(@path)}"
else else
unless params[:file_name] == @path unless params[:file_name].empty?
previous_path = @path @previous_path = @path
@path = params[:file_name] @path = params[:file_name]
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