stupid-paypal-ipn/app/controllers/ipn_controller.rb
2013-05-14 00:48:13 -07:00

12 lines
236 B
Ruby

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