Sha256: 94ffda144765b8e827651c7bc9954c20bd0e7c174a91950eca3516c3f40ead88
Contents?: true
Size: 691 Bytes
Versions: 8
Compression:
Stored size: 691 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses # This cell renders the Grid (:g) process card # for a given instance of a ParticipatoryProcess class ProcessGCell < Decidim::CardGCell private def resource_path Decidim::ParticipatoryProcesses::Engine.routes.url_helpers.participatory_process_path(model) end def resource_image_path model.attached_uploader(:hero_image).path end def start_date model.start_date end def end_date model.end_date end def metadata_cell "decidim/participatory_processes/process_metadata_g" end end end end
Version data entries
8 entries across 8 versions & 1 rubygems