cache? dont cache

pull/6827/head
jwollert 14 years ago
parent d2b2d5c889
commit ea2fe6281f
  1. 4
      lib/widget/table/progressbar.rb

@ -1,9 +1,7 @@
class Widget::Table::Progressbar < Widget::Base
THRESHHOLD = 500
def cache?
false
end
dont_cache!
def render
if Widget::Table::ReportTable.new(@query).cached? || (size = @query.size) <= THRESHHOLD

Loading…
Cancel
Save