Class: Decidim::Sortitions::SortitionPresenter

Inherits:
ResourcePresenter
  • Object
show all
Defined in:
app/presenters/decidim/sortitions/sortition_presenter.rb

Instance Method Summary collapse

Instance Method Details

#sortitionObject



6
7
8
# File 'app/presenters/decidim/sortitions/sortition_presenter.rb', line 6

def sortition
  __getobj__
end

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



10
11
12
13
14
# File 'app/presenters/decidim/sortitions/sortition_presenter.rb', line 10

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

  super(sortition.title, html_escape, all_locales)
end