Sha256: b57d8a65ffc3f44195c5f90cc686c09ea519855c17019282407366e8cf832b38
Contents?: true
Size: 547 Bytes
Versions: 7
Compression:
Stored size: 547 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 include Decidim::ApplicationHelper 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
7 entries across 7 versions & 1 rubygems