aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/searches_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/searches_controller.rb')
-rw-r--r--app/controllers/searches_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/searches_controller.rb b/app/controllers/searches_controller.rb
index 376455c..a01fd59 100644
--- a/app/controllers/searches_controller.rb
+++ b/app/controllers/searches_controller.rb
@@ -14,6 +14,7 @@ class SearchesController < ApplicationController
def new
@search = Search.new
+ @subtitle = I18n.t('searches.title')
end
def edit; end
@@ -52,6 +53,7 @@ class SearchesController < ApplicationController
def set_search
@search = Search.find(params[:id])
+ @subtitle = @search.name
end
def search_params