diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-07-01 21:43:13 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-07-01 21:48:28 +0200 |
| commit | 95e5fe8b8fb1e16c71ffbed6681ab8b2203249d4 (patch) | |
| tree | 0f6dc99d031a499befbbcbb301b7fd1a62af125b /app/controllers/searches_controller.rb | |
| parent | 28399cd9a549cc4edf8c557883c940532821c28d (diff) | |
| download | operum-95e5fe8b8fb1e16c71ffbed6681ab8b2203249d4.tar.gz operum-95e5fe8b8fb1e16c71ffbed6681ab8b2203249d4.zip | |
Add subtitles to pages
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'app/controllers/searches_controller.rb')
| -rw-r--r-- | app/controllers/searches_controller.rb | 2 |
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 |
