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