Commit 060a2e225755aedc99a8cdbc5fae8296daa7a958
1 parent
ac9afe0d
Exists in
master
and in
4 other branches
move tag path to the appropriate helper
Showing
3 changed files
with
7 additions
and
2 deletions
Show diff stats
app/views/projects/_list.html.haml
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | = project.name | 14 | = project.name |
15 | .small-tags | 15 | .small-tags |
16 | - project.tag_list.each do |tag| | 16 | - project.tag_list.each do |tag| |
17 | - = link_to tag, "/tags/#{tag}" | 17 | + = link_to tag, tag_path(tag) |
18 | 18 | ||
19 | %td= truncate project.url_to_repo | 19 | %td= truncate project.url_to_repo |
20 | %td= project.code | 20 | %td= project.code |
app/views/tags/index.html.haml