Class: Decidim::Meetings::MeetingEditionPresenter

Inherits:
MeetingPresenter
  • Object
show all
Defined in:
app/presenters/decidim/meetings/meeting_edition_presenter.rb

Overview

Decorator for meetings in users context

Instance Method Summary collapse

Methods inherited from MeetingPresenter

#avatar_url, #badge, #can_be_contacted?, #closing_report, #dates_param, #deleted?, #description, #display_mention, #editor_description, #formatted_proposals_titles, #has_tooltip?, #location, #location_hints, #meeting, #meeting_path, #name, #nickname, #profile_path, #proposals, #registration_email_custom_content, #registration_terms, #title

Instance Method Details

#sanitized(content) ⇒ Object



9
10
11
# File 'app/presenters/decidim/meetings/meeting_edition_presenter.rb', line 9

def sanitized(content)
  organization.rich_text_editor_in_public_views? ? decidim_sanitize_editor(content) : decidim_sanitize(content)
end