Sha256: 716452f81617036e1b1fc92caef8acc9b055c06f63f0bfea31a1fab3452a986a
Contents?: true
Size: 416 Bytes
Versions: 14
Compression:
Stored size: 416 Bytes
Contents
# frozen_string_literal: true module Arclight # Render the box that displays a link to filter only for online content class OnlineContentFilterComponent < Blacklight::Component def initialize(document:) @document = document super end def render? @document.collection? && @document.online_content? end def collection_name @document.collection_name end end end
Version data entries
14 entries across 14 versions & 1 rubygems