Class: Decidim::Meetings::MeetingEditionPresenter

Inherits:
MeetingPresenter show all
Defined in:
decidim-meetings/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, #formatted_proposals_titles, #has_tooltip?, #location, #location_hints, #meeting, #name, #nickname, #profile_path, #proposals, #registration_email_custom_content, #registration_terms, #title

Methods included from SanitizeHelper

#decidim_html_escape, #decidim_sanitize, #decidim_sanitize_editor, #decidim_sanitize_newsletter, #decidim_url_escape, included

Methods included from ResourceHelper

#linked_classes_filter_values_for, #linked_classes_for, #linked_resources_for, #resource_locator, #resource_title

Methods inherited from ResourcePresenter

#handle_locales, #title

Methods included from TranslatableAttributes

#default_locale?

Instance Method Details

#sanitized(content) ⇒ Object


9
10
11
# File 'decidim-meetings/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