Skip to content

Commit

Permalink
Refs #37825 - Make reloading work
Browse files Browse the repository at this point in the history
  • Loading branch information
ofedoren committed Sep 26, 2024
1 parent 717c5eb commit de20134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/core_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def self.per_page
# Foreman.in_rake? prevents the failure of db:migrate for postgresql
# don't query settings table if in rake
return 20 unless Foreman.settings.ready?
Setting[:entries_per_page] rescue 20
Foreman.settings[:entries_per_page] rescue 20
end

def self.audited(*args)
Expand Down

0 comments on commit de20134

Please sign in to comment.