move tag path to the appropriate helper

This commit is contained in:
Aleksei Kvitinskii 2011-11-07 13:40:22 +02:00
parent ac9afe0d14
commit 060a2e2257
3 changed files with 7 additions and 2 deletions

View file

@ -14,7 +14,7 @@
= project.name
.small-tags
- project.tag_list.each do |tag|
= link_to tag, "/tags/#{tag}"
= link_to tag, tag_path(tag)
%td= truncate project.url_to_repo
%td= project.code