Sha256: a4cae9fd5811d1ffd5905252871b06d011f631e3dad170dfaa7b42210b3a3b79

Contents?: true

Size: 409 Bytes

Versions: 20

Compression:

Stored size: 409 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.not_blocked.page(params[:page]).per(20)
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/cells/decidim/followers_cell.rb
decidim-core-0.27.8 app/cells/decidim/followers_cell.rb
decidim-core-0.27.7 app/cells/decidim/followers_cell.rb
decidim-core-0.27.6 app/cells/decidim/followers_cell.rb
decidim-core-0.26.10 app/cells/decidim/followers_cell.rb
decidim-core-0.26.9 app/cells/decidim/followers_cell.rb
decidim-core-0.27.5 app/cells/decidim/followers_cell.rb
decidim-core-0.26.8 app/cells/decidim/followers_cell.rb
decidim-core-0.27.4 app/cells/decidim/followers_cell.rb
decidim-core-0.27.3 app/cells/decidim/followers_cell.rb
decidim-core-0.26.7 app/cells/decidim/followers_cell.rb
decidim-core-0.26.5 app/cells/decidim/followers_cell.rb
decidim-core-0.27.2 app/cells/decidim/followers_cell.rb
decidim-core-0.27.1 app/cells/decidim/followers_cell.rb
decidim-core-0.26.4 app/cells/decidim/followers_cell.rb
decidim-core-0.27.0 app/cells/decidim/followers_cell.rb
decidim-core-0.26.3 app/cells/decidim/followers_cell.rb
decidim-core-0.27.0.rc2 app/cells/decidim/followers_cell.rb
decidim-core-0.27.0.rc1 app/cells/decidim/followers_cell.rb
decidim-core-0.26.2 app/cells/decidim/followers_cell.rb