Sha256: 6324cf3e8ebee11b0caca9d97a8c24f24ad755de0dd029765f39782a8448fdc3

Contents?: true

Size: 498 Bytes

Versions: 1

Compression:

Stored size: 498 Bytes

Contents

# Default options for the Will Paginate gem: http://github.com/mislav/will_paginate
require "will_paginate"
WillPaginate::ViewHelpers.pagination_options[:previous_label] = '<<'
WillPaginate::ViewHelpers.pagination_options[:next_label] = '>>'
WillPaginate::ViewHelpers.pagination_options[:inner_window] = 2
WillPaginate::ViewHelpers.pagination_options[:container] = false

# Default options for the REST gem: http://github.com/aeonscope/rest
PAGINATION_PARAM_NAME = :page
PAGINATION_PAGE_COUNT = 15

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aeonscope-rest-1.1.0 rails_generators/rest_setup/templates/config/initializers/pagination.rb