Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Normalize it all
Browse files Browse the repository at this point in the history
  • Loading branch information
pencil committed Mar 20, 2014
1 parent 77a5929 commit e815ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/processors/casino/processor_concern/service_tickets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def clean_service_url(dirty_service)
service_uri.path = (service_uri.path || '').gsub(/\/+\z/, '')
service_uri.path = '/' if service_uri.path.blank?

clean_service = service_uri.to_s
clean_service = service_uri.normalize.to_s

Rails.logger.debug("Cleaned dirty service URL '#{dirty_service}' to '#{clean_service}'") if dirty_service != clean_service

Expand Down

0 comments on commit e815ba4

Please sign in to comment.