Sha256: 2482ff209885ab4825df681e403ad35fc3bc10d9dff393fa03454e7f30d50f78
Contents?: true
Size: 416 Bytes
Versions: 41
Compression:
Stored size: 416 Bytes
Contents
# frozen_string_literal: true module Decidim # The form object that handles the data behind updating a user's # notifications settings in her profile page. class NotificationsSettingsForm < Form mimic :user attribute :email_on_notification attribute :newsletter_notifications validates :email_on_notification, presence: true validates :newsletter_notifications, presence: true end end
Version data entries
41 entries across 41 versions & 2 rubygems