Class: Decidim::Comments::CommentCardCell

Inherits:
ViewModel
  • Object
show all
Includes:
Cell::ViewModel::Partial, CommentCellsHelper
Defined in:
decidim-comments/app/cells/decidim/comments/comment_card_cell.rb

Overview

This cell renders the comment card for an instance of a Comment the default size is the Medium Card (:m)

Instance Method Summary collapse

Methods included from CommentCellsHelper

#renderable?, #resource_link_path, #resource_link_text, #root_commentable_title, #url_params

Instance Method Details

#showObject


11
12
13
# File 'decidim-comments/app/cells/decidim/comments/comment_card_cell.rb', line 11

def show
  cell card_size, model, options
end