Sha256: 69886f6fd4278bf0a09dbad9528835086a777e4b9388006678b686338fccb381

Contents?: true

Size: 397 Bytes

Versions: 52

Compression:

Stored size: 397 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class FollowersCell < Decidim::ViewModel
    include Decidim::CellsPaginateHelper
    include Decidim::ApplicationHelper
    include Decidim::Core::Engine.routes.url_helpers
    include Decidim::CardHelper

    def show
      render :show
    end

    def followers
      @followers ||= model.followers.page(params[:page]).per(20)
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
decidim-core-0.26.1 app/cells/decidim/followers_cell.rb
decidim-core-0.26.0 app/cells/decidim/followers_cell.rb
decidim-core-0.26.0.rc2 app/cells/decidim/followers_cell.rb
decidim-core-0.26.0.rc1 app/cells/decidim/followers_cell.rb
decidim-core-0.25.2 app/cells/decidim/followers_cell.rb
decidim-core-0.25.1 app/cells/decidim/followers_cell.rb
decidim-core-0.25.0 app/cells/decidim/followers_cell.rb
decidim-core-0.25.0.rc4 app/cells/decidim/followers_cell.rb
decidim-core-0.25.0.rc3 app/cells/decidim/followers_cell.rb
decidim-core-0.25.0.rc2 app/cells/decidim/followers_cell.rb
decidim-core-0.25.0.rc1 app/cells/decidim/followers_cell.rb
decidim-core-0.24.3 app/cells/decidim/followers_cell.rb
decidim-core-0.23.6 app/cells/decidim/followers_cell.rb
decidim-core-0.24.2 app/cells/decidim/followers_cell.rb
decidim-core-0.23.5 app/cells/decidim/followers_cell.rb
decidim-core-0.24.1 app/cells/decidim/followers_cell.rb
decidim-core-0.24.0 app/cells/decidim/followers_cell.rb
decidim-core-0.24.0.rc2 app/cells/decidim/followers_cell.rb
decidim-core-0.23.4 app/cells/decidim/followers_cell.rb
decidim-core-0.24.0.rc1 app/cells/decidim/followers_cell.rb