view app/controllers/application_controller.rb @ 150:88f957e0352b

No need for csrf protection Because there's no cookies/session to be protected.
author Edho Arief <edho@myconan.net>
date Mon, 26 Nov 2012 21:52:43 +0700
parents 4aa8194a1733
children dff632a63ada
line wrap: on
line source

class ApplicationController < ActionController::Base
  protect_from_forgery
end