From 208c931b2c394717516806c2f973ae589f08ecc2 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Fri, 21 Jul 2023 16:09:28 +0200 Subject: [PATCH] fix the events_per_page environment variable --- config/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/application.rb b/config/application.rb index 51f77822b..68795fa94 100644 --- a/config/application.rb +++ b/config/application.rb @@ -49,7 +49,7 @@ class Application < Rails::Application config.active_job.queue_adapter = :delayed_job config.conference = { - events_per_page: ENV.fetch('EVENTS_PER_PAGE', 3), + events_per_page: ENV.fetch('EVENTS_PER_PAGE', 5).to_i, default_logo_filename: ENV.fetch('DEFAULT_LOGO_FILENAME', 'snapcon_logo.png'), default_color: ENV.fetch('DEFAULT_COLOR', '#0B3559') }