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