Class: Decidim::Meetings::Admin::ValidateRegistrationCodeForm
- Inherits:
-
Form
- Object
- Form
- Decidim::Meetings::Admin::ValidateRegistrationCodeForm
- Defined in:
- app/forms/decidim/meetings/admin/validate_registration_code_form.rb
Overview
This class holds a Form to validate registration codes from Decidim’s admin panel.
Instance Method Summary collapse
Instance Method Details
#registration ⇒ Object
13 14 15 |
# File 'app/forms/decidim/meetings/admin/validate_registration_code_form.rb', line 13 def registration @registration ||= meeting.registrations.find_by(code:, validated_at: nil) end |