Sha256: 0ac358adcebe120eafadecd9d40a08389d18e76fc6129b9e43e80e70adefcfe1
Contents?: true
Size: 566 Bytes
Versions: 13
Compression:
Stored size: 566 Bytes
Contents
# frozen_string_literal: true module Decidim module Blogs # Custom helpers, scoped to the blogs engine. # module ApplicationHelper include PaginateHelper include SanitizeHelper include Decidim::Blogs::PostsHelper include ::Decidim::EndorsableHelper include ::Decidim::FollowableHelper include Decidim::Comments::CommentsHelper def component_name (defined?(current_component) && translated_attribute(current_component&.name).presence) || t("decidim.components.blogs.name") end end end end
Version data entries
13 entries across 13 versions & 1 rubygems