Class: Decidim::RegistrationForm

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

Overview

A form object used to handle user registrations

Instance Method Summary collapse

Instance Method Details

#newsletter_atObject



29
30
31
32
33
# File 'app/forms/decidim/registration_form.rb', line 29

def newsletter_at
  return nil unless newsletter?

  Time.current
end