Sha256: a6d2cb2cf7271c066efaca907af6cd5b66721046c57a8d8d75335a1b9fab4ec5
Contents?: true
Size: 508 Bytes
Versions: 6
Compression:
Stored size: 508 Bytes
Contents
# frozen_string_literal: true module Decidim class UserConversationsCell < Decidim::ViewModel include Cell::ViewModel::Partial include CellsPaginateHelper include Decidim::Core::Engine.routes.url_helpers include ActionView::Helpers::DateHelper delegate :nickname, to: :user def user model end def show render :show end def conversations context[:conversations] || [] end def form_ob Messaging::MessageForm.new end end end
Version data entries
6 entries across 6 versions & 1 rubygems