aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/shared_searches_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/shared_searches_controller.rb')
-rw-r--r--app/controllers/shared_searches_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/shared_searches_controller.rb b/app/controllers/shared_searches_controller.rb
index ca65539..ffdd56e 100644
--- a/app/controllers/shared_searches_controller.rb
+++ b/app/controllers/shared_searches_controller.rb
@@ -6,10 +6,12 @@ class SharedSearchesController < ApplicationController
def index
@searches = Search.order(:name)
@saved_searches = @searches.where(shared: true)
+ @subtitle = I18n.t('searches.shared.title')
end
def show
@search = Search.where(shared: true).find(params[:search_id])
+ @subtitle = @search.name
@results = @search.results.values.flatten
end
end