Class: Decidim::Debates::DebateCell

Inherits:
ViewModel
  • Object
show all
Includes:
Cell::ViewModel::Partial, DebateCellsHelper
Defined in:
decidim-debates/app/cells/decidim/debates/debate_cell.rb

Overview

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

Instance Method Summary collapse

Methods included from Comments::CommentsHelper

#comments_for, #inline_comments_for

Methods included from PaginateHelper

#decidim_paginate, #per_page

Instance Method Details

#showObject



11
12
13
# File 'decidim-debates/app/cells/decidim/debates/debate_cell.rb', line 11

def show
  cell card_size, model, options
end