Class: Decidim::Admin::ExternalDomainForm

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

Instance Method Summary collapse

Instance Method Details

#to_paramObject



12
13
14
15
16
# File 'app/forms/decidim/admin/external_domain_form.rb', line 12

def to_param
  return id if id.present?

  "external-domain-id"
end