Class: Spotlight::Masthead
- Inherits:
-
FeaturedImage
- Object
- ActiveRecord::Base
- FeaturedImage
- Spotlight::Masthead
- Defined in:
- app/models/spotlight/masthead.rb
Overview
Exhibit and browse category mastheads
Instance Method Summary collapse
Methods inherited from FeaturedImage
#document, #file_present?, #iiif_url, #remote_image_url=
Instance Method Details
#display? ⇒ Boolean
5 6 7 |
# File 'app/models/spotlight/masthead.rb', line 5 def display? display && iiif_url.present? end |