Class: Decidim::Admin::SelectiveNewsletterParticipatorySpaceTypeForm

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

Instance Method Summary collapse

Instance Method Details

#map_model(model_hash) ⇒ Object



9
10
11
12
13
# File 'app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb', line 9

def map_model(model_hash)
  manifest = model_hash[:manifest]

  self.manifest_name = manifest.name.to_s
end