Skip to content

Commit

Permalink
fix the events_per_page environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Jul 21, 2023
1 parent 97f04b5 commit 208c931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
Expand Down

0 comments on commit 208c931

Please sign in to comment.