Skip to content

Commit

Permalink
delint
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Aug 2, 2024
1 parent 38e213c commit 284c759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/ticket_scannings_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def create
authorize! :create, @ticket_scanning
@ticket_scanning.save
dest_path = conferences_path
if request.referer&.match?(%r{admin/conferences})
if request.referer&.include?('admin/conferences')
dest_path = admin_conference_physical_tickets_path(conference_id: @conference.short_title)
end
redirect_to dest_path,
Expand Down

0 comments on commit 284c759

Please sign in to comment.