Class: Decidim::AccountForm

Inherits:
Form
  • Object
show all
Defined in:
app/forms/decidim/account_form.rb

Overview

The form object that handles the data behind updating a user’s account in her profile page.

Instance Method Summary collapse

Instance Method Details

#personal_urlObject



33
34
35
36
37
38
39
# File 'app/forms/decidim/account_form.rb', line 33

def personal_url
  return if super.blank?

  return "http://" + super unless super.match?(%r{\A(http|https)://}i)

  super
end