From 95e5fe8b8fb1e16c71ffbed6681ab8b2203249d4 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 1 Jul 2025 21:43:13 +0200 Subject: Add subtitles to pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- app/controllers/searches_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/controllers/searches_controller.rb') 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 -- cgit v1.2.3