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/things_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/things_controller.rb') diff --git a/app/controllers/things_controller.rb b/app/controllers/things_controller.rb index 97761aa..4a04249 100644 --- a/app/controllers/things_controller.rb +++ b/app/controllers/things_controller.rb @@ -59,7 +59,7 @@ class ThingsController < ApplicationController private def set_thing - @thing = Thing.find(params[:id]) + @thing = Thing.find(params.expect(:id)) @subtitle = @thing.title end -- cgit v1.2.3