From f8f11e3d7efce5eb2ae12fe867e8ab1052c1e88a Mon Sep 17 00:00:00 2001 From: Will Bradley Date: Mon, 26 Aug 2013 15:34:10 -0700 Subject: [PATCH] Adjust IPN security --- app/controllers/ipns_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/ipns_controller.rb b/app/controllers/ipns_controller.rb index 6018abd..36a9407 100644 --- a/app/controllers/ipns_controller.rb +++ b/app/controllers/ipns_controller.rb @@ -1,5 +1,5 @@ class IpnsController < ApplicationController - load_and_authorize_resource :ipn, :except => "create" + load_and_authorize_resource :ipn, :except => [:new, :create] before_filter :authenticate_user! protect_from_forgery :except => [:create]