Project

General

Profile

« Previous | Next » 

Revision 272811b9

Added by Ohad Levy almost 12 years ago

  • ID 272811b987e92d2b2160ea1edaf8ee4fe26cf1ab

fixes #1764 changing per_page setting would update only after a restart

this commit changes it back to an area in the code which gets evaluated
everytime instead of upon startup only

View differences:

lib/core_extensions.rb
first.nil?
end
def self.per_page
Setting.entries_per_page rescue 20
end
end
module ExemptedFromLogging

Also available in: Unified diff