diff --git a/app/controllers/followups_controller.rb b/app/controllers/followups_controller.rb index ea8b1bca62..d1933bc6f9 100644 --- a/app/controllers/followups_controller.rb +++ b/app/controllers/followups_controller.rb @@ -190,11 +190,11 @@ def set_incoming_message def set_info_request if current_user @info_request = current_user.info_requests. - find_by_url_title(params[:url_title]) + find_by(url_title: params[:url_title]) end @info_request ||= InfoRequest.not_embargoed. - find_by_url_title!(params[:url_title]) + find_by!(url_title: params[:url_title]) end def set_last_request_data