Sha256: a79e680e9ee87b1515f9abdc76ba6f95f33fc996a44fafc4afda16f568037c49
Contents?: true
Size: 518 Bytes
Versions: 7
Compression:
Stored size: 518 Bytes
Contents
# frozen_string_literal: true module Decidim class ConversationsCell < Decidim::ViewModel include Decidim::CellsPaginateHelper include Decidim::IconHelper include Decidim::Core::Engine.routes.url_helpers include ActionView::Helpers::DateHelper helper_method :conversations delegate :current_user, to: :controller def show render :show end private def conversations @conversations ||= Decidim::Messaging::UserConversations.for(current_user) end end end
Version data entries
7 entries across 7 versions & 1 rubygems