Module: Decidim::Blogs::ApplicationHelper

Includes:
PostsHelper, Comments::CommentsHelper, EndorsableHelper, FollowableHelper, PaginateHelper, SanitizeHelper
Defined in:
app/helpers/decidim/blogs/application_helper.rb

Overview

Custom helpers, scoped to the blogs engine.

Instance Method Summary collapse

Methods included from PostsHelper

#post_description

Instance Method Details

#component_nameObject



15
16
17
# File 'app/helpers/decidim/blogs/application_helper.rb', line 15

def component_name
  (defined?(current_component) && translated_attribute(current_component&.name).presence) || t("decidim.components.blogs.name")
end