Sha256: 666146b7b0b38c439793de1982ca01fd6fa8fb1546256d7f4f8af47576875774
Contents?: true
Size: 596 Bytes
Versions: 8
Compression:
Stored size: 596 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 ProcessGroupGCell < Decidim::CardGCell private def resource_path Decidim::ParticipatoryProcesses::Engine.routes.url_helpers.participatory_process_group_path(model) end def resource_image_path model.attached_uploader(:hero_image).path end def metadata_cell "decidim/participatory_processes/process_group_metadata" end end end end
Version data entries
8 entries across 8 versions & 1 rubygems