Class: Spotlight::HomePage
- Inherits:
-
Page
- Object
- ActiveRecord::Base
- Page
- Spotlight::HomePage
show all
- Extended by:
- FriendlyId
- Defined in:
- app/models/spotlight/home_page.rb
Constant Summary
Constants inherited
from Page
Page::MAX_PAGES
Instance Method Summary
collapse
Methods inherited from Page
#about_page?, #content=, #content_changed!, #feature_page?, #featured_image, #has_content?, #lock!, #should_generate_new_friendly_id?, #to_partial_path, #top_level_page?, #top_level_page_or_self
Instance Method Details
13
14
15
|
# File 'app/models/spotlight/home_page.rb', line 13
def
exhibit.searchable? && self.
end
|
#should_display_title? ⇒ Boolean
9
10
11
|
# File 'app/models/spotlight/home_page.rb', line 9
def should_display_title?
display_title
end
|