Sha256: 89738930829b741f3c61a5e047580dd02eab1f107099e6f39f36dbd13c732f2d

Contents?: true

Size: 279 Bytes

Versions: 35

Compression:

Stored size: 279 Bytes

Contents

  module Enumerable
    module ActsAsPaginatableResourceConcern
      def self.included(base)
        base.extend(ClassMethods)
      end
      
      module ClassMethods
        def page(page)
          Kaminari.paginate_array(all).page(page)
        end
      end
    end
  end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
itsf_backend-5.0.0.pre app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-4.2.3 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-4.2.2 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-4.2.1 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-4.2.0 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-4.0.1 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-4.0.0 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-3.1.1 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-3.1.0 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-3.0.7 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-3.0.6 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-3.0.5 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-3.0.4 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-3.0.3 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-3.0.2 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-3.0.1 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-3.0.0 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-2.2.1 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-2.2.0 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb
itsf_backend-2.1.0 app/concerns/enumerable/acts_as_paginatable_resource_concern.rb