Class: Decidim::Verifications::CsvCensus::CensusForm

Inherits:
AuthorizationHandler show all
Defined in:
app/forms/decidim/verifications/csv_census/census_form.rb

Instance Method Summary collapse

Methods inherited from AuthorizationHandler

#authorization_attributes, #duplicate, #form_attributes, handler_for, handler_name, #handler_name, #metadata, #to_partial_path, #transferrable?, #unique?, #unique_id, #verification_attachment, #verification_metadata

Instance Method Details

#authorized?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'app/forms/decidim/verifications/csv_census/census_form.rb', line 9

def authorized?
  true if census_for_user
end