Class: Spotlight::HomePage
- Inherits:
-
Page
- Object
- ActiveRecord::Base
- Page
- Spotlight::HomePage
show all
- Extended by:
- FriendlyId
- Defined in:
- app/models/spotlight/home_page.rb
Overview
Constant Summary
Constants inherited
from Page
Page::MAX_PAGES
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Page
#about_page?, #clone_for_locale, #content, #content=, #content?, #content_changed!, #content_type, #feature_page?, #featured_image, #home_page?, #lock!, #should_generate_new_friendly_id?, #thumbnail_image_url, #title, #to_partial_path, #top_level_page?, #top_level_page_or_self, #translated_page_for, #updated_after?
Class Method Details
.default_title_text ⇒ Object
16
17
18
|
# File 'app/models/spotlight/home_page.rb', line 16
def default_title_text
I18n.t('spotlight.pages.index.home_pages.title')
end
|
Instance Method Details
25
26
27
|
# File 'app/models/spotlight/home_page.rb', line 25
def
end
|
#should_display_title? ⇒ Boolean
21
22
23
|
# File 'app/models/spotlight/home_page.rb', line 21
def should_display_title?
display_title?
end
|