Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-griffen committed Oct 27, 2023
1 parent 5b984e1 commit d92d216
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/followups_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d92d216

Please sign in to comment.