Commit 09194eeb authored by tiagonbotelho's avatar tiagonbotelho

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

parent d9561118
...@@ -52,6 +52,7 @@ class Projects::BlobController < Projects::ApplicationController ...@@ -52,6 +52,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
......
...@@ -16,6 +16,8 @@ module Files ...@@ -16,6 +16,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