Class: Decidim::NotificationsSettingsForm

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#newsletter_notifications_atObject



15
16
17
18
# File 'app/forms/decidim/notifications_settings_form.rb', line 15

def newsletter_notifications_at
  return nil unless newsletter_notifications
  Time.current
end