Sha256: 9b471893d5cba75911a5e12c3a11f74f19056ee118a30a97ea16bfe7e4763a95

Contents?: true

Size: 316 Bytes

Versions: 7

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class ConversationHeaderCell < Decidim::ViewModel
    include Decidim::IconHelper
    include Decidim::Core::Engine.routes.url_helpers

    def show
      render :show
    end

    def recipient
      @recipient ||= Decidim::UserPresenter.new(model)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-core-0.15.2 app/cells/decidim/conversation_header_cell.rb
decidim-core-0.15.1 app/cells/decidim/conversation_header_cell.rb
decidim-core-0.15.0 app/cells/decidim/conversation_header_cell.rb
decidim-core-0.14.4 app/cells/decidim/conversation_header_cell.rb
decidim-core-0.14.3 app/cells/decidim/conversation_header_cell.rb
decidim-core-0.14.2 app/cells/decidim/conversation_header_cell.rb
decidim-core-0.14.1 app/cells/decidim/conversation_header_cell.rb