Sha256: 31b9a62a4eb939b10cef3186197c7d0b8e929122f8e045d2b42aae9f77d9e835
Contents?: true
Size: 357 Bytes
Versions: 16
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true module Admin module DocumentsHelper def material_urls(material, doc) lesson = Lcms::Engine::DocumentGenerator.document_presenter.new(doc) presenter = Lcms::Engine::DocumentGenerator.material_presenter.new(material, lesson: lesson) { pdf: presenter.pdf_url, gdoc: presenter.gdoc_url } end end end
Version data entries
16 entries across 16 versions & 1 rubygems