summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-18 11:08:34 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-18 11:08:34 +0100
commitd4e7d4a5d5bdb63fbda279dbc8dd2ec495b90907 (patch)
tree26149f7bed6031318a9c7cd71d4e3a6d66a2e1ba
parentba4d32db18a7e6dd701dcfb210ec6af062ee2446 (diff)
Added GsParameter.get('NUMBER_OF_SHOWN_ITEMS') to the cache key.
-rw-r--r--app/views/users/_index_core.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/_index_core.html.haml b/app/views/users/_index_core.html.haml
index 5d0fd16..9376826 100644
--- a/app/views/users/_index_core.html.haml
+++ b/app/views/users/_index_core.html.haml
@@ -1,4 +1,4 @@
-- cache(['user_table_row_inner_td', I18n.locale, current_user, users.order(:updated_at).last, users.count]) do
+- cache(['user_table_row_inner_td', I18n.locale, current_user, users.order(:updated_at).last, users.count, GsParameter.get('NUMBER_OF_SHOWN_ITEMS')]) do
%table
%tr
%th