Sha256: 31017eae7a2c98b1f32dd25f4e1d36cc7b67498e8ed0de52e807ccb01131a3c1
Contents?: true
Size: 525 Bytes
Versions: 46
Compression:
Stored size: 525 Bytes
Contents
# frozen_string_literal: true module Decidim module CellsPaginateHelper include Kaminari::Helpers::HelperMethods include ActionView::Helpers::OutputSafetyHelper include ActionView::Helpers::TranslationHelper include Cell::ViewModel::Partial include Decidim::PaginateHelper def paginate(scope, options = {}, &block) options = options.reverse_merge(views_prefix: "../views/") super end def per_page params[:per_page] || Decidim::Paginable::OPTIONS.first end end end
Version data entries
46 entries across 46 versions & 1 rubygems