Class: NoCms::Seo::Presenters::BasePresenter
- Inherits:
-
Object
- Object
- NoCms::Seo::Presenters::BasePresenter
- Defined in:
- app/presenters/no_cms/seo/presenters/base_presenter.rb
Instance Method Summary collapse
- #canonical_url(host) ⇒ Object
- #description ⇒ Object
- #no_follow? ⇒ Boolean
- #no_index? ⇒ Boolean
- #title ⇒ Object
Instance Method Details
#canonical_url(host) ⇒ Object
11 12 13 |
# File 'app/presenters/no_cms/seo/presenters/base_presenter.rb', line 11 def canonical_url host "" end |
#description ⇒ Object
7 8 9 |
# File 'app/presenters/no_cms/seo/presenters/base_presenter.rb', line 7 def description I18n.t('no_cms.seo.default_description') end |
#no_follow? ⇒ Boolean
19 20 21 |
# File 'app/presenters/no_cms/seo/presenters/base_presenter.rb', line 19 def no_follow? false end |
#no_index? ⇒ Boolean
15 16 17 |
# File 'app/presenters/no_cms/seo/presenters/base_presenter.rb', line 15 def no_index? false end |
#title ⇒ Object
3 4 5 |
# File 'app/presenters/no_cms/seo/presenters/base_presenter.rb', line 3 def title I18n.t('no_cms.seo.default_title') end |