Tidy up homepage and navigation

This commit is contained in:
Dan Milne
2025-11-09 20:58:13 +11:00
parent c9e2992fe0
commit 1f4428348d
56 changed files with 2822 additions and 955 deletions

View File

@@ -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