Sha256: 60d89ccbca7094ac3250c7baebea3f5e9d73a78fc3bceee2e8158b2efb989225
Contents?: true
Size: 829 Bytes
Versions: 1
Compression:
Stored size: 829 Bytes
Contents
# frozen_string_literal: true module Decidim module Posts module PostCellsHelper include Decidim::Posts::ApplicationHelper include Decidim::Posts::Engine.routes.url_helpers include Decidim::LayoutHelper include Decidim::ApplicationHelper include Decidim::TranslationsHelper include Decidim::ResourceReferenceHelper include Decidim::TranslatableAttributes include Decidim::CardHelper delegate :body, :category, to: :model def current_settings model.component.current_settings end def component_settings model.component.settings end def current_component model.component end def participatory_space @participatory_space ||= current_component.participatory_space end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
decidim-posts-1.0.0 | app/helpers/decidim/posts/post_cells_helper.rb |