Commit 8c4af9f01280fdffe4fb144ef03e2cdeaf1a504a
1 parent
e137c34d
Exists in
master
and in
29 other branches
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,6 +26,11 @@ class EnterpriseHomepage < Article | ||
26 | end | 26 | end |
27 | end | 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 | def can_display_hits? | 34 | def can_display_hits? |
30 | false | 35 | false |
31 | end | 36 | end |