summaryrefslogtreecommitdiff
path: root/app/controllers/projects/blob_controller.rb
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-07-01 17:46:37 +0100
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-07-12 15:46:14 +0100
commit09194eebff2154d22ee6ae5a63ff5dea03cbfe73 (patch)
tree9c0325d304cd7ef1d812afc562cd7e708409b3f6 /app/controllers/projects/blob_controller.rb
parentd9561118e8a2ab5f2a5543e2c8ef3bfb6a3505c9 (diff)
downloadgitlab-ce-09194eebff2154d22ee6ae5a63ff5dea03cbfe73.tar.gz
successfully adds the new version with the updated name on the projects repo
Diffstat (limited to 'app/controllers/projects/blob_controller.rb')
-rw-r--r--app/controllers/projects/blob_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/projects/blob_controller.rb b/app/controllers/projects/blob_controller.rb
index 00549265e9e..8fc24668b42 100644
--- a/app/controllers/projects/blob_controller.rb
+++ b/app/controllers/projects/blob_controller.rb
@@ -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