Commit 8cb4c0dd authored by Guillaume Grossetie's avatar Guillaume Grossetie

Linter happiness

parent a55112b8
...@@ -525,8 +525,8 @@ class ApplicationSetting < ApplicationRecord ...@@ -525,8 +525,8 @@ class ApplicationSetting < ApplicationRecord
def validate_url(parsed_url, name, error_message) def validate_url(parsed_url, name, error_message)
unless parsed_url unless parsed_url
self.errors.add( self.errors.add(
name, name,
"must be a valid relative or absolute URL. #{error_message}" "must be a valid relative or absolute URL. #{error_message}"
) )
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment