work on saved searches embedded in user profiles

This commit is contained in:
r888888888
2016-08-19 16:40:14 -07:00
parent 28aa7f30d5
commit 5de9adf0f5
7 changed files with 60 additions and 14 deletions

View File

@@ -7,7 +7,7 @@
<% if category.present? %>
<%= link_to_if SavedSearch.posts_search_available?, category.tr("_", " "), posts_path(:tags => "search:#{category}") %>
<% else %>
<%= link_to_if SavedSearch.posts_search_available?, "Uncategorized", posts_path(:tags => "search:all") %>
<%= link_to_if SavedSearch.posts_search_available?, SavedSearch::UNCATEGORIZED_NAME, posts_path(:tags => "search:all") %>
<% end %>
</h2>
<table class="striped" width="100%">