summaryrefslogtreecommitdiff
path: root/app/views/projects/tags/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/tags/index.html.haml')
-rw-r--r--app/views/projects/tags/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tags/index.html.haml b/app/views/projects/tags/index.html.haml
index 56656ea3d86..bf97cbc1f68 100644
--- a/app/views/projects/tags/index.html.haml
+++ b/app/views/projects/tags/index.html.haml
@@ -24,7 +24,7 @@
%li
= link_to title, filter_tags_path(sort: value), class: ("is-active" if @sort == value)
- if can?(current_user, :push_code, @project)
- = link_to new_namespace_project_tag_path(@project.namespace, @project), class: 'btn btn-create new-tag-btn' do
+ = link_to new_project_tag_path(@project), class: 'btn btn-create new-tag-btn' do
New tag
.tags