summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-18 15:09:32 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-18 15:09:32 +0100
commite7f51187fe563c559c5580e5091f01356a36b6c3 (patch)
tree0b6e63776503facacf081609160f7642e5b25b1f
parentd4e7d4a5d5bdb63fbda279dbc8dd2ec495b90907 (diff)
load_and_authorize_resource :gs_parameter #114
-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 7ca4e8e..bd8b44b 100644
--- a/app/controllers/gs_parameters_controller.rb
+++ b/app/controllers/gs_parameters_controller.rb
@@ -1,5 +1,5 @@
class GsParametersController < ApplicationController
- load_resource :gs_parameter
+ load_and_authorize_resource :gs_parameter
before_filter :spread_breadcrumbs