DEV: Make rubocop happy.
This commit is contained in:
parent
28f6c59612
commit
828ceab64b
|
@ -86,7 +86,7 @@ module FileStore
|
|||
return false if url.blank?
|
||||
|
||||
begin
|
||||
parsed_url = URI.parse(URI.encode(url))
|
||||
parsed_url = URI.parse(UrlHelper.encode(url))
|
||||
rescue URI::InvalidURIError, URI::InvalidComponentError
|
||||
return false
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue