diff options
Diffstat (limited to 'app/controllers/searches_controller.rb')
| -rw-r--r-- | app/controllers/searches_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
