Skip to content
Snippets Groups Projects
Unverified Commit e2b0cf26 authored by Sébastien Gaya's avatar Sébastien Gaya Committed by GitHub
Browse files

Merge pull request #737 from noesya/fix/contact-url

fix contact website url blank
parents b361c8f4 f16ec577
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ class ContactDetails::Website < ContactDetails::Base ...@@ -4,7 +4,7 @@ class ContactDetails::Website < ContactDetails::Base
protected protected
def prepare_url def prepare_url
@url = @string @url = @string.to_s
@url = "#{PROTOCOL}#{@url}" unless @url.start_with? PROTOCOL @url = "#{PROTOCOL}#{@url}" unless @url.start_with? PROTOCOL
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment