Class: WoopleTheme::Dashboard::EssentialExceptionPresenter

Inherits:
ExceptionPresenter show all
Includes:
ActionView::Helpers::UrlHelper
Defined in:
app/presenters/woople_theme/dashboard/essential_exception_presenter.rb

Instance Method Summary collapse

Methods inherited from ExceptionPresenter

#date

Methods inherited from ExplicitDelegator

enforce_definitions, #enforced_methods, #ensure_defined, #initialize

Constructor Details

This class inherits a constructor from ExplicitDelegator

Instance Method Details

#subtitleObject



15
16
17
# File 'app/presenters/woople_theme/dashboard/essential_exception_presenter.rb', line 15

def subtitle
  I18n.t('woople_theme.dashboards.member.exceptions.reason', reason: source.description)
end

#titleObject



11
12
13
# File 'app/presenters/woople_theme/dashboard/essential_exception_presenter.rb', line 11

def title
  link_to(source.name, source.url)
end