Commit 26677fbe authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

After tag is created - redirect to tag page

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 312cf11b
......@@ -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'
......
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