Sha256: 7f0a5ec6b69da6e3dedb236f6f95d588071100e0255847791d72f03ade1f6520
Contents?: true
Size: 558 Bytes
Versions: 6
Compression:
Stored size: 558 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses # This cell renders the Small (:s) process group card # for an given instance of a ParticipatoryProcessGroup class ProcessGroupSCell < Decidim::CardMCell private def has_image? model.hero_image.url.present? end def resource_path Decidim::ParticipatoryProcesses::Engine.routes.url_helpers.participatory_process_group_path(model) end def resource_image_path model.hero_image.url end end end end
Version data entries
6 entries across 6 versions & 1 rubygems