Commit eadb109d5692a8b303d92da2c062be9031cdb16f

Authored by AntonioTerceiro
1 parent f36a52e1

ActionItem31: listing tags with links to them



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1020 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/content_viewer/view_page.rhtml
1 1 <h2><%= @page.title %></h2>
2 2  
3 3 <div>
4   - <%= _('Tags: %s') % @page.tags %>
  4 + <%= _('Tags: %s') % (@page.tags.map { |t| link_to(t, tag_url(:tag => t.name)) }.join(', ')) %>
5 5 </div>
6 6  
7 7 <% if @page.parent && !@page.parent.path.blank? %>
... ...