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

successfully adds the new version with the updated name on the projects repo

parent d9561118
Branches
Tags
1 merge request!5049Implements the form for renaming the new filename on the file edit page
Loading
Loading
@@ -52,6 +52,7 @@ class Projects::BlobController < Projects::ApplicationController
@previous_path = @path
@path = params[:file_name]
end
namespace_project_blob_path(@project.namespace, @project, File.join(@target_branch, @path))
end
 
Loading
Loading
Loading
Loading
@@ -16,6 +16,8 @@ module Files
params[:file_content]
end
 
puts @file_path
# Validate parameters
validate
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment