summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-15 20:42:02 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-15 20:42:02 +0100
commitca77ad70f4c2df28f6460e0160f23d115174440d (patch)
treebbe724f5a42becc64f7c117db734faf07241d707 /app/controllers
parent5a49e044fe3a5bdeff40c15d363af6d0c36fa27a (diff)
Optimized caching.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/gs_parameters_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/gs_parameters_controller.rb b/app/controllers/gs_parameters_controller.rb
index a7813dc..0966132 100644
--- a/app/controllers/gs_parameters_controller.rb
+++ b/app/controllers/gs_parameters_controller.rb
@@ -1,6 +1,6 @@
class GsParametersController < ApplicationController
def index
- @ps_parameters_unordered = GsParameter.scoped
+ @gs_parameters_unordered = GsParameter.scoped
@gs_parameters = GsParameter.order([:section, :name])
@sections = @gs_parameters.pluck(:section).uniq.sort
end