stupid-paypal-ipn/app/controllers/ipn_controller.rb

12 lines
236 B
Ruby
Raw Normal View History

2013-05-14 07:48:13 +00:00
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