app/forms/decidim/conferences/admin/conference_speaker_form.rb in decidim-conferences-0.23.6 vs app/forms/decidim/conferences/admin/conference_speaker_form.rb in decidim-conferences-0.24.0.rc1
- old
+ new
@@ -41,10 +41,10 @@
validate :personal_url_format
def personal_url
return if super.blank?
- return "http://" + super unless super.match?(%r{\A(http|https)://}i)
+ return "http://#{super}" unless super.match?(%r{\A(http|https)://}i)
super
end
def map_model(model)