Class: Spotlight::FeaturePage
- Extended by:
- FriendlyId
- Defined in:
- app/models/spotlight/feature_page.rb
Overview
Feature pages
Constant Summary
Constants inherited from Page
Instance Method Summary collapse
Methods inherited from Page
#about_page?, #content=, #content?, #content_changed!, #feature_page?, #featured_image, #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
18 19 20 |
# File 'app/models/spotlight/feature_page.rb', line 18 def child_pages.published.present? || end |
#thumbnail_image_url ⇒ Object
22 23 24 |
# File 'app/models/spotlight/feature_page.rb', line 22 def thumbnail_image_url thumbnail.image.thumb.url if thumbnail && thumbnail.image end |