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/tenants/_gs_parameter_table.html.haml | |
parent | 23a9f6fd67a61d4230e77497b57d0f70c8a0d8ef (diff) | |
parent | fe5b9f2c046561f9918a5660b4a5193ef66fd3aa (diff) |
Merge branch 'reorder' into develop
Diffstat (limited to 'app/views/tenants/_gs_parameter_table.html.haml')
-rw-r--r-- | app/views/tenants/_gs_parameter_table.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/tenants/_gs_parameter_table.html.haml b/app/views/tenants/_gs_parameter_table.html.haml index 3af06cf..94c44e5 100644 --- a/app/views/tenants/_gs_parameter_table.html.haml +++ b/app/views/tenants/_gs_parameter_table.html.haml @@ -1,4 +1,4 @@ -- cache(['gs_parameters_tenant_overview_table', I18n.locale, tenant, GuiFunction.count, GuiFunction.order(:updated_at).last, GsParameter.count, GsParameter.order(:updated_at).last]) do +- cache(['gs_parameters_tenant_overview_table', I18n.locale, tenant, GuiFunction.count, GuiFunction.reorder(:updated_at).last, GsParameter.count, GsParameter.reorder(:updated_at).last]) do %table %tr{:class => 'even'} %th @@ -14,11 +14,11 @@ %td = link_to GuiFunction.count.to_s, gui_functions_path %td - = l GuiFunction.order(:updated_at).last.updated_at, :format => :short + = l GuiFunction.reorder(:updated_at).last.updated_at, :format => :short %tr{:class => 'even'} %td = t("gs_parameters.name") %td = link_to GsParameter.count.to_s, gs_parameters_path %td - = l GsParameter.order(:updated_at).last.updated_at, :format => :short + = l GsParameter.reorder(:updated_at).last.updated_at, :format => :short |