summaryrefslogtreecommitdiff
path: root/app/controllers/gs_parameters_controller.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-10 11:45:46 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-10 11:45:46 +0100
commit7b1295884861b222e441f431089ea3a6d99fd569 (patch)
treebad56b6f9cfd63130f790806665505c3a44c4874 /app/controllers/gs_parameters_controller.rb
parentc0c87dc9a80d7bf7f6dd7a779a6519a0e1425c5c (diff)
Started to fragment cache gs_parameter views.
Diffstat (limited to 'app/controllers/gs_parameters_controller.rb')
-rw-r--r--app/controllers/gs_parameters_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/gs_parameters_controller.rb b/app/controllers/gs_parameters_controller.rb
index a35e373..a7813dc 100644
--- a/app/controllers/gs_parameters_controller.rb
+++ b/app/controllers/gs_parameters_controller.rb
@@ -1,5 +1,6 @@
class GsParametersController < ApplicationController
def index
+ @ps_parameters_unordered = GsParameter.scoped
@gs_parameters = GsParameter.order([:section, :name])
@sections = @gs_parameters.pluck(:section).uniq.sort
end