Class: Decidim::Dev::DummyResourcePresenter

Inherits:
ResourcePresenter show all
Defined in:
decidim-dev/app/presenters/decidim/dev/dummy_resource_presenter.rb

Instance Method Summary collapse

Methods inherited from ResourcePresenter

#editor_locales, #handle_locales

Methods included from SanitizeHelper

#decidim_escape_translated, #decidim_html_escape, #decidim_rich_text, #decidim_sanitize, #decidim_sanitize_admin, #decidim_sanitize_editor, #decidim_sanitize_editor_admin, #decidim_sanitize_newsletter, #decidim_sanitize_translated, #decidim_url_escape, included

Methods included from TranslatableAttributes

#attachment?, #default_locale?

Instance Method Details

#title(html_escape: false, all_locales: false) ⇒ Object



6
7
8
9
10
# File 'decidim-dev/app/presenters/decidim/dev/dummy_resource_presenter.rb', line 6

def title(html_escape: false, all_locales: false)
  return unless __getobj__

  super(__getobj__.title, html_escape, all_locales)
end