Sha256: 47a1587757e73a41ab8edc04e2225fcc2bbe8edac3882c4b64321ab9b37653f8
Contents?: true
Size: 426 Bytes
Versions: 31
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true module Decidim module Assemblies class AssemblyPresenter < SimpleDelegator def hero_image_url assembly.attached_uploader(:hero_image).url(host: assembly.organization.host) end def banner_image_url assembly.attached_uploader(:banner_image).url(host: assembly.organization.host) end def assembly __getobj__ end end end end
Version data entries
31 entries across 31 versions & 1 rubygems