Commit ffe07fad authored by tiagonbotelho's avatar tiagonbotelho

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

parent 29b3b283
......@@ -47,6 +47,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
......
......@@ -15,6 +15,8 @@ module Files
params[:file_content]
end
puts @file_path
# Validate parameters
validate
......
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