summaryrefslogtreecommitdiff
path: root/app/views/users
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-20 20:01:06 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-20 20:01:06 +0100
commitfe5b9f2c046561f9918a5660b4a5193ef66fd3aa (patch)
tree1bee6ec86e0425cd73b2415ce6282d96d848daea /app/views/users
parent23a9f6fd67a61d4230e77497b57d0f70c8a0d8ef (diff)
Replaced some order with reorder within cache key generation.
Diffstat (limited to 'app/views/users')
-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 9376826..5f0cb41 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, GsParameter.get('NUMBER_OF_SHOWN_ITEMS')]) do
+- cache(['user_table_row_inner_td', I18n.locale, current_user, users.reorder(:updated_at).last, users.count, GsParameter.get('NUMBER_OF_SHOWN_ITEMS')]) do
%table
%tr
%th