Adjust IPN security
This commit is contained in:
parent
eb782f11d5
commit
f8f11e3d7e
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue
Block a user