class Decidim::Meetings::Admin::CloseMeetingForm

This class holds a Form to close a meeting from Decidim’s admin panel.

def map_model(model)

Returns nothing.

Private: Gets the proposals from the meeting and injects them to the form.
def map_model(model)
  self.proposal_ids = model.linked_resources(:proposals, "proposals_from_meeting").pluck(:id)
  self.proposals = model.sibling_scope(:proposals)
end