Module: IiifPrint::WorksControllerBehaviorDecorator
- Defined in:
- lib/iiif_print/works_controller_behavior_decorator.rb
Instance Method Summary collapse
-
#iiif_manifest_presenter ⇒ Object
Extending the presenter to the base url which includes the protocol.
Instance Method Details
#iiif_manifest_presenter ⇒ Object
Extending the presenter to the base url which includes the protocol. We need the base url to render the facet links.
5 6 7 |
# File 'lib/iiif_print/works_controller_behavior_decorator.rb', line 5 def iiif_manifest_presenter super.tap { |i| i.base_url = request.base_url } end |