summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-05 14:07:55 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-05 14:07:55 +0100
commit26677fbe213069a3820f9f20d528bd560d447bea (patch)
treef80d56ae050b49a52fb960a25e6fcb9d7924a73b /app/controllers
parent312cf11b61e6bbee8283dfb267516e6b42454431 (diff)
downloadgitlab-ce-26677fbe213069a3820f9f20d528bd560d447bea.tar.gz
After tag is created - redirect to tag page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/tags_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/tags_controller.rb b/app/controllers/projects/tags_controller.rb
index c4a3e3dca94..055f328677f 100644
--- a/app/controllers/projects/tags_controller.rb
+++ b/app/controllers/projects/tags_controller.rb
@@ -30,7 +30,7 @@ class Projects::TagsController < Projects::ApplicationController
release.save
end
- redirect_to namespace_project_tags_path(@project.namespace, @project)
+ redirect_to namespace_project_tag_path(@project.namespace, @project, @tag.name)
else
@error = result[:message]
render action: 'new'