Skip to content
Snippets Groups Projects
Commit ef0f4950 authored by tiagonbotelho's avatar tiagonbotelho
Browse files

remove prints and useless comments

parent 40567511
Branches
Tags
1 merge request!5049Implements the form for renaming the new filename on the file edit page
Loading
@@ -43,8 +43,8 @@ class Projects::BlobController < Projects::ApplicationController
Loading
@@ -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
# params[:file_name] stores the new name for the file
unless params[:file_name] == @path unless params[:file_name] == @path
previous_path = @path
@path = params[:file_name] @path = params[:file_name]
end end
   
Loading
Loading
Loading
@@ -15,8 +15,6 @@ module Files
Loading
@@ -15,8 +15,6 @@ module Files
params[:file_content] params[:file_content]
end end
   
puts @file_path
# Validate parameters # Validate parameters
validate validate
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment