diff --git a/app/controllers/conferences_controller.rb b/app/controllers/conferences_controller.rb index d068083b..05f98d6d 100644 --- a/app/controllers/conferences_controller.rb +++ b/app/controllers/conferences_controller.rb @@ -19,7 +19,7 @@ class ConferencesController < ApplicationController :registration_period, :contact, venue: :commercial - ).find_by(conference_finder_conditions) + ).find_by!(conference_finder_conditions) authorize! :show, @conference # TODO: reduce the 10 queries performed here splashpage = @conference.splashpage