summaryrefslogtreecommitdiff
path: root/app/views/gs_parameters/index.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-15 22:00:45 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-15 22:00:45 +0100
commitd44b8c81f939deb1e83e17d19c580b3bf6ac9ab6 (patch)
treece7c1db61f85d3980baeb7695650c7bb3f3a4f8f /app/views/gs_parameters/index.html.haml
parentbf9c8cdfb5d2754e53b15560242cc7c43603155a (diff)
Optimized caching.
Diffstat (limited to 'app/views/gs_parameters/index.html.haml')
-rw-r--r--app/views/gs_parameters/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/gs_parameters/index.html.haml b/app/views/gs_parameters/index.html.haml
index c7a6b70..37fe825 100644
--- a/app/views/gs_parameters/index.html.haml
+++ b/app/views/gs_parameters/index.html.haml
@@ -1,7 +1,7 @@
- title t("gs_parameters.index.page_title")
- if @gs_parameters && @gs_parameters.count > 0
- - cache(['gs_parameters_table', @gs_parameters_unordered.order(:updated_at).last, @gs_parameters_unordered.count]) do
+ - cache(['gs_parameters_table', I18n.locale, @gs_parameters_unordered.order(:updated_at).last, @gs_parameters_unordered.count]) do
- if @sections
%table
- @sections.each do |section|