Class: Spotlight::FeaturePage
- Extended by:
- FriendlyId
- Defined in:
- app/models/spotlight/feature_page.rb
Constant Summary
Constants inherited from Page
Instance Method Summary collapse
Methods inherited from Page
#about_page?, #content=, #feature_page?, #has_content?, #lock!, #should_display_title?, #should_generate_new_friendly_id?, #to_partial_path, #top_level_page?, #top_level_page_or_self
Instance Method Details
#display_sidebar? ⇒ Boolean
15 16 17 |
# File 'app/models/spotlight/feature_page.rb', line 15 def child_pages.published.present? || self. end |