After tag is created - redirect to tag page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets
2015-11-05 14:07:55 +01:00
parent 312cf11b61
commit 26677fbe21
+1 -1
View File
@@ -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'