Tidy up homepage and navigation
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Pagy configuration
|
||||
# require 'pagy'
|
||||
# Initialize Pagy with default settings after it's loaded
|
||||
|
||||
# Pagy::VARS[:items] = 50 # default items per page
|
||||
Rails.application.config.after_initialize do
|
||||
# Set default items per page
|
||||
Pagy::VARS[:items] = 25 if defined?(Pagy::VARS)
|
||||
end
|
||||
Reference in New Issue
Block a user