app/controllers/spotlight/concerns/application_controller.rb in blacklight-spotlight-0.17.0 vs app/controllers/spotlight/concerns/application_controller.rb in blacklight-spotlight-0.17.1

- old
+ new

@@ -17,10 +17,10 @@ if current_exhibit && !can?(:read, current_exhibit) # Try to authenticate the user authenticate_user! # If that fails (and we end up back here), offer a 404 error instead - fail ActionController::RoutingError, 'Not Found' + raise ActionController::RoutingError, 'Not Found' else redirect_to main_app.root_url, alert: exception.message end end end