# frozen_string_literal: true

# Pagy configuration
# Initialize Pagy with default settings after it's loaded

Rails.application.config.after_initialize do
  # Set default items per page
  Pagy::VARS[:items] = 25 if defined?(Pagy::VARS)
end