aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/things_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/things_controller.rb')
-rw-r--r--app/controllers/things_controller.rb2
1 files changed, 1 insertions, 1 deletions
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