Class: Decidim::Comments::CommentActivityCell
- Inherits:
-
ActivityCell
- Object
- ActivityCell
- Decidim::Comments::CommentActivityCell
show all
- Includes:
- CommentCellsHelper
- Defined in:
- app/cells/decidim/comments/comment_activity_cell.rb
Overview
A cell to display when a comment has been created.
Instance Method Summary
collapse
#renderable?, #resource_link_path, #resource_link_text, #root_commentable_title, #url_params
Instance Method Details
23
24
25
|
# File 'app/cells/decidim/comments/comment_activity_cell.rb', line 23
def
model.resource_lazy
end
|
#participatory_space ⇒ Object
19
20
21
|
# File 'app/cells/decidim/comments/comment_activity_cell.rb', line 19
def participatory_space
model.participatory_space_lazy
end
|
#title ⇒ Object
9
10
11
12
13
14
15
16
17
|
# File 'app/cells/decidim/comments/comment_activity_cell.rb', line 9
def title
I18n.t(
"decidim.comments.last_activity.new_comment_at_html",
link: link_to(
,
resource_link_path
)
)
end
|