Sha256: 64672ab2de4c7326ed3627600fb01ebae1f8e306a14bc94b101ec45e1720e641

Contents?: true

Size: 424 Bytes

Versions: 32

Compression:

Stored size: 424 Bytes

Contents

# frozen_string_literal: true

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

    def show
      render :show
    end

    def followings
      @followings ||= Kaminari.paginate_array(model.following).page(params[:page]).per(20)
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
decidim-core-0.25.0 app/cells/decidim/following_cell.rb
decidim-core-0.25.0.rc4 app/cells/decidim/following_cell.rb
decidim-core-0.25.0.rc3 app/cells/decidim/following_cell.rb
decidim-core-0.25.0.rc2 app/cells/decidim/following_cell.rb
decidim-core-0.25.0.rc1 app/cells/decidim/following_cell.rb
decidim-core-0.24.3 app/cells/decidim/following_cell.rb
decidim-core-0.23.6 app/cells/decidim/following_cell.rb
decidim-core-0.24.2 app/cells/decidim/following_cell.rb
decidim-core-0.23.5 app/cells/decidim/following_cell.rb
decidim-core-0.24.1 app/cells/decidim/following_cell.rb
decidim-core-0.24.0 app/cells/decidim/following_cell.rb
decidim-core-0.24.0.rc2 app/cells/decidim/following_cell.rb
decidim-core-0.23.4 app/cells/decidim/following_cell.rb
decidim-core-0.24.0.rc1 app/cells/decidim/following_cell.rb
decidim-core-0.23.3 app/cells/decidim/following_cell.rb
decidim-core-0.23.2 app/cells/decidim/following_cell.rb
decidim-core-0.23.1 app/cells/decidim/following_cell.rb
decidim-core-0.23.1.rc1 app/cells/decidim/following_cell.rb
decidim-core-0.23.0 app/cells/decidim/following_cell.rb
decidim-core-0.22.0 app/cells/decidim/following_cell.rb