From e4325f3d984d873d761e770bd4c42cabcd1df88a Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 3 Jun 2026 10:35:43 +0200 Subject: Upgrade to the latest Rails 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, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/searches_controller.rb') diff --git a/app/controllers/searches_controller.rb b/app/controllers/searches_controller.rb index ff738c2..1585cce 100644 --- a/app/controllers/searches_controller.rb +++ b/app/controllers/searches_controller.rb @@ -52,7 +52,7 @@ class SearchesController < ApplicationController protected def set_search - @search = Search.find(params[:id]) + @search = Search.find(params.expect(:id)) @subtitle = @search.name end -- cgit v1.2.3