Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
beingmattlevy committed Aug 18, 2024
1 parent d019d4c commit 46068e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def set_ticket_request

# check if ticket request exists
@ticket_request = TicketRequest.find_by(id: ticket_request_id)
unless @ticket_request.present?
if @ticket_request.blank?
Rails.logger.info { "#set_ticket_request() => unknown ticket_request_id: #{ticket_request_id}" }
return redirect_to root_path
end
Expand Down

0 comments on commit 46068e8

Please sign in to comment.