FIX: Bracked category link in no-JS view

This commit is contained in:
riking 2014-09-14 21:55:30 -07:00
parent 10e2c3f693
commit 34db30396c
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<% @list.topics.each do |t| %>
<a href="<%= t.relative_url %>"><%= t.title %></a>
<% if !@category && t.category %>
[<a href="/category/<%= t.category.slug.blank? ? t.category.id : t.category.slug %>"><%= t.category.name %></a>]
[<a href="<%= t.category.url%>"><%= t.category.name %></a>]
<% end %>
<span title='<%= t 'posts' %>'>(<%= t.posts_count %>)</span><br/>
<% end %>