aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared_searches/index.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared_searches/index.html.erb b/app/views/shared_searches/index.html.erb
index a17537c..f9d3289 100644
--- a/app/views/shared_searches/index.html.erb
+++ b/app/views/shared_searches/index.html.erb
@@ -3,11 +3,11 @@
<div>
<h3><%= I18n.t('searches.shared.title') %></h3>
- <% if @searches.empty? %>
+ <% if @saved_searches.empty? %>
<div><span><%= I18n.t('searches.shared.none') %>.</span></div>
<% else %>
<div id="shared-searches-list">
- <% @searches.each do |s| %>
+ <% @saved_searches.each do |s| %>
<div>
<%= link_to s.name, search_shared_path(s) %>
</div>