Sha256: 500a98d32929a1a9b218bd84e6df237f9d480f94f430346d179470dbb221df3b

Contents?: true

Size: 430 Bytes

Versions: 13

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class UserActivityCell < Decidim::ViewModel
    include Cell::ViewModel::Partial
    include CellsPaginateHelper
    include Decidim::Core::Engine.routes.url_helpers

    def show
      render :show
    end

    def activities
      context[:activities]
    end

    def resource_types
      context[:resource_types]
    end

    def filter
      context[:filter]
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/cells/decidim/user_activity_cell.rb
decidim-core-0.28.4 app/cells/decidim/user_activity_cell.rb
decidim-core-0.29.0 app/cells/decidim/user_activity_cell.rb
decidim-core-0.28.3 app/cells/decidim/user_activity_cell.rb
decidim-core-0.29.0.rc4 app/cells/decidim/user_activity_cell.rb
decidim-core-0.29.0.rc3 app/cells/decidim/user_activity_cell.rb
decidim-core-0.29.0.rc2 app/cells/decidim/user_activity_cell.rb
decidim-core-0.29.0.rc1 app/cells/decidim/user_activity_cell.rb
decidim-core-0.28.2 app/cells/decidim/user_activity_cell.rb
decidim-core-0.28.1 app/cells/decidim/user_activity_cell.rb
decidim-core-0.28.0 app/cells/decidim/user_activity_cell.rb
decidim-core-0.28.0.rc5 app/cells/decidim/user_activity_cell.rb
decidim-core-0.28.0.rc4 app/cells/decidim/user_activity_cell.rb