Class: Decidim::Blogs::PostActivityCell
- Inherits:
-
ActivityCell
- Object
- ViewModel
- ActivityCell
- Decidim::Blogs::PostActivityCell
- Defined in:
- decidim-blogs/app/cells/decidim/blogs/post_activity_cell.rb
Overview
A cell to display when a post has been created.
Constant Summary
Constants included from IconHelper
IconHelper::DEFAULT_RESOURCE_TYPE_ICONS
Instance Method Summary collapse
Methods inherited from ActivityCell
#cache_hash, #created_at, #description, #element_id, #renderable?, #resource, #resource_link_path, #resource_link_text, #show, #user
Methods included from IconHelper
#component_icon, #manifest_icon, #resource_icon, #resource_type_icon, #resource_type_icon_key
Instance Method Details
#title ⇒ Object
7 8 9 |
# File 'decidim-blogs/app/cells/decidim/blogs/post_activity_cell.rb', line 7 def title I18n.t("decidim.blogs.last_activity.new_post") end |