pretty print saved search categories

This commit is contained in:
r888888888
2015-11-24 16:56:25 -08:00
parent 89794a7ef2
commit ef49366868

View File

@@ -5,7 +5,7 @@
<% @categories.each do |category, saved_searches| %>
<h2>
<% if category.present? %>
<%= link_to category, posts_path(:tags => "search:#{category}") %>
<%= link_to category.tr("_", " "), posts_path(:tags => "search:#{category}") %>
<% else %>
Uncategorized
<% end %>