tasks/thor/templates/generator/example_app/config/environment.rb in praxis-2.0.pre.14 vs tasks/thor/templates/generator/example_app/config/environment.rb in praxis-2.0.pre.15
- old
+ new
@@ -2,10 +2,10 @@
Praxis::Application.configure do |application|
# Configure the Mapper plugin (if we want to use all the filtering/field_selection extensions)
application.bootloader.use Praxis::Plugins::MapperPlugin
# Configure the Pagination plugin (if we want to use all the pagination/ordering extensions)
- application.bootloader.use Praxis::Plugins::PaginationPlugin, {
+ application.bootloader.use Praxis::Plugins::PaginationPlugin, **{
# max_items: 500, # Unlimited by default,
# default_page_size: 100,
# paging_default_mode: {by: :id},
# disallow_paging_by_default: false,
# disallow_cursor_by_default: false,
\ No newline at end of file