diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-20 20:02:45 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-20 20:02:45 +0100 |
commit | ab4f55360bbac1b344d210e454cf7d278cb2d4c3 (patch) | |
tree | 1bee6ec86e0425cd73b2415ce6282d96d848daea /app/views/gs_parameters/index.html.haml | |
parent | 23a9f6fd67a61d4230e77497b57d0f70c8a0d8ef (diff) | |
parent | fe5b9f2c046561f9918a5660b4a5193ef66fd3aa (diff) |
Merge branch 'reorder' into develop
Diffstat (limited to 'app/views/gs_parameters/index.html.haml')
-rw-r--r-- | app/views/gs_parameters/index.html.haml | 2 |
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 37fe825..3844c3d 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', I18n.locale, @gs_parameters_unordered.order(:updated_at).last, @gs_parameters_unordered.count]) do + - cache(['gs_parameters_table', I18n.locale, @gs_parameters_unordered.reorder(:updated_at).last, @gs_parameters_unordered.count]) do - if @sections %table - @sections.each do |section| |