Class: WoopleTheme::Dashboard::EssentialExceptionPresenter
- Inherits:
-
ExceptionPresenter
- Object
- ExplicitDelegator
- ExceptionPresenter
- WoopleTheme::Dashboard::EssentialExceptionPresenter
- Includes:
- ActionView::Helpers::UrlHelper
- Defined in:
- app/presenters/woople_theme/dashboard/essential_exception_presenter.rb
Instance Method Summary collapse
Methods inherited from ExceptionPresenter
Methods inherited from ExplicitDelegator
enforce_definitions, #enforced_methods, #ensure_defined, #initialize
Constructor Details
This class inherits a constructor from ExplicitDelegator
Instance Method Details
#subtitle ⇒ Object
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 |
#title ⇒ Object
11 12 13 |
# File 'app/presenters/woople_theme/dashboard/essential_exception_presenter.rb', line 11 def title link_to(source.name, source.url) end |