Class: Spotlight::Masthead

Inherits:
FeaturedImage show all
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

Returns:

  • (Boolean)


5
6
7
# File 'app/models/spotlight/masthead.rb', line 5

def display?
  display && iiif_url.present?
end