Commit 8c4af9f01280fdffe4fb144ef03e2cdeaf1a504a

Authored by Braulio Bhavamitra
1 parent e137c34d

Disable cache

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
app/models/enterprise_homepage.rb
... ... @@ -26,6 +26,11 @@ class EnterpriseHomepage < Article
26 26 end
27 27 end
28 28  
  29 + # disable cache because of products
  30 + def cache_key params = {}, the_profile = nil, language = 'en'
  31 + rand
  32 + end
  33 +
29 34 def can_display_hits?
30 35 false
31 36 end
... ...