Initial commit
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
class ApplicationController < ActionController::Base
|
||||
protect_from_forgery
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
class IpnController < ApplicationController
|
||||
protect_from_forgery :except => [:create]
|
||||
|
||||
def create
|
||||
Rails.logger.info params.inspect
|
||||
@ipn = Ipn.new({:data => params.inspect})
|
||||
@ipn.save
|
||||
render :nothing => true
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user