Class: Spotlight::HomePage
- Defined in:
- app/models/spotlight/home_page.rb
Constant Summary
Constants inherited from Page
Instance Method Summary collapse
Methods inherited from Page
#about_page?, #feature_page?, #to_partial_path, #top_level_page?, #top_level_page_or_self
Instance Method Details
#title_or_default ⇒ Object
6 7 8 |
# File 'app/models/spotlight/home_page.rb', line 6 def title_or_default title.present? ? title : I18n.t('spotlight.pages.index.home_pages.title') end |