title for category pages

This commit is contained in:
Sam 2013-07-08 16:01:40 +10:00
parent 2f096083d0
commit 180d887481
1 changed files with 1 additions and 0 deletions

View File

@ -14,4 +14,5 @@
<% content_for :head do %> <% content_for :head do %>
<%= auto_discovery_link_tag(@category, {action: :category_feed, format: :rss}, title: t('rss_topics_in_category', category: @category.name), type: 'application/rss+xml') %> <%= auto_discovery_link_tag(@category, {action: :category_feed, format: :rss}, title: t('rss_topics_in_category', category: @category.name), type: 'application/rss+xml') %>
<% end %> <% end %>
<% content_for :title do %><%=@category.name%> <%=t('topics')%><% end %>
<% end %> <% end %>