Sha256: 6b1883eb60a356286664194811cb8b0ea0f6e86b1072f68d4ee426750ac91825
Contents?: true
Size: 357 Bytes
Versions: 7
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true module Decidim module Blogs # This cell renders the card for an instance of a Post # the default size is the Medium Card (:m) class PostCell < Decidim::ViewModel def show cell card_size, model end private def card_size "decidim/blogs/post_m" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems