Sha256: 83fe51488a1505635aa662ef9c27ede943976f661308178c8c5260647ef8372e
Contents?: true
Size: 531 Bytes
Versions: 5
Compression:
Stored size: 531 Bytes
Contents
# frozen_string_literal: true module Decidim module Conferences # This cell renders the Grid (:g) conference card # for a given instance of a Conference class ConferenceGCell < Decidim::CardGCell private def resource_path Decidim::Conferences::Engine.routes.url_helpers.conference_path(model) end def resource_image_url model.attached_uploader(:hero_image).url end def metadata_cell "decidim/conferences/conference_metadata" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems