Sha256: 80e42d73e05e43754235d053a2cf709825398dbc761b710ac80ed3a04ef78895

Contents?: true

Size: 602 Bytes

Versions: 3

Compression:

Stored size: 602 Bytes

Contents

# setup paginate
RailsPaginate.setup do |config|
  # config.per_page = 20
  # config.page_param = :page

  # configure default renderer
  # config.default_renderer = :html_default

  # configure renderer
  # config.renderer :html_default do |renderer|
    # renderer.show_first_page = false
    # renderer.show_last_page = false
    # renderer.show_next_page = false
    # renderer.show_previous_page = false
  # end

  # configure default default_pager
  # config.default_pager = :slider

  # configure pager
  # config.pager :slider do |pager|
    # pager.inner = 3
    # pager.outer = 1
  # end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_paginate-0.0.7 lib/generators/templates/config/initializers/paginate.rb
rails_paginate-0.0.6 lib/generators/templates/config/initializers/paginate.rb
rails_paginate-0.0.5 lib/generators/templates/config/initializers/paginate.rb