Class: Decidim::Meetings::MeetingEditionPresenter

Inherits:
MeetingPresenter
  • Object
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

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