summaryrefslogtreecommitdiff
path: root/app/controllers/gs_parameters_controller.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-10 12:30:07 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-10 12:30:07 +0100
commitd92595edd1febbea58ccee742ac7b8cdb3b42e00 (patch)
tree78b496ed4d9f051c616c38fa9134f3401d5febb9 /app/controllers/gs_parameters_controller.rb
parent7268fbc3b37ae35993a7379cc66221c5e24c2016 (diff)
parent2b57fadfebf7f7df6a589ab089eec522413e8390 (diff)
Merge branch 'cache_gs_parameter_view' into develop
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