Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie authored and kritik committed Sep 23, 2024
1 parent 80e5024 commit 3d49831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/validate_url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def filtered_options(value)
end

def validate_url(record, attribute, value, schemes)
uri = URI.parse(URI::Parser.new.escape(value)
uri = URI.parse(URI::Parser.new.escape(value))
host = uri && uri.host
scheme = uri && uri.scheme

Expand Down

0 comments on commit 3d49831

Please sign in to comment.