Added trailing slash to tag links in archives.
h3rald h3rald@h3rald.com
Thu, 29 Oct 2009 11:46:42 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
lib/helpers.rb
→
lib/helpers.rb
@@ -22,7 +22,7 @@ article.attributes[:tags].map{|t| %{<a class="tag" href="/tags/#{t}/">#{t}</a>}}.join " · "
end def tag_link_with_count(tag, count) - %{#{link_for_tag(tag, '/tags/')} (#{count})} + %{#{link_for_tag(tag+'/', '/tags/')} (#{count})} end def sorted_site_tags