summaryrefslogtreecommitdiff
path: root/app/controllers/gs_parameters_controller.rb
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-10 13:37:55 +0100
committerspag <spag@golwen.net>2013-01-10 13:37:55 +0100
commit490e3f9bcda2943d1bff77ec5cfaa0a9b7d13458 (patch)
tree9d9e2a1e5b1da7e301675e2767acfa5ca954ea38 /app/controllers/gs_parameters_controller.rb
parent6ce81a29e0918b3494a08fa47190b2cea59d1a84 (diff)
parentae296748501982bac71525507ff9c1fdfefb8ad2 (diff)
Merge branch 'develop' of github.com:amooma/GS5 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