Sha256: 5b8e68d093165bdef268b23cbc1b0ea215f3094f690be2c2f058b28f2407973c

Contents?: true

Size: 424 Bytes

Versions: 7

Compression:

Stored size: 424 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

# Optionally override some pagy default with your own in the pagy initializer
Pagy::DEFAULT[:limit] = 30 # items per page
Pagy::DEFAULT[:size]  = 9  # nav bar links
# Better user experience handled automatically
require 'pagy/extras/overflow'
Pagy::DEFAULT[:overflow] = :empty_page
require 'pagy/extras/elasticsearch_rails'
require 'pagy/extras/array'

include Pagy::Backend

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rider-kick-0.0.8 lib/generators/rider_kick/templates/config/initializers/pagy.rb.tt
rider-kick-0.0.7 lib/generators/rider_kick/templates/config/initializers/pagy.rb.tt
rider-kick-0.0.6 lib/generators/rider_kick/templates/config/initializers/pagy.rb.tt
rider-kick-0.0.5 lib/generators/rider_kick/templates/config/initializers/pagy.rb.tt
rider-kick-0.0.4 lib/generators/rider_kick/templates/config/initializers/pagy.rb.tt
rider-kick-0.0.3 lib/generators/rider_kick/templates/config/initializers/pagy.rb.tt
rider-kick-0.0.2 lib/generators/rider_kick/templates/config/initializers/pagy.rb.tt