Sha256: 1188c7e360f3e70a1f31c1a3588ddbe2cc3ff757ef178ee364a9d9c4519774e3
Contents?: true
Size: 488 Bytes
Versions: 13
Compression:
Stored size: 488 Bytes
Contents
# frozen_string_literal: true module Blacklight module Document # Render the tools that display on the sidebar of the show page class ShowToolsComponent < Blacklight::Component # @param [Blacklight::Document] document def initialize(document:) @document = document end attr_reader :document def render? helpers.show_doc_actions? end def actions helpers.document_actions(document) end end end end
Version data entries
13 entries across 13 versions & 2 rubygems