X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fcontrollers%2Fapplication_controller.rb;fp=app%2Fcontrollers%2Fapplication_controller.rb;h=840f64a869d8e9f56d14c3ccb01bf4edab74f199;hb=7068571b286f8f61bdc4f81ca53fb5ee5b7a2681;hp=d83690e1b9a6bdd8a08754b38231799acefcb2ab;hpb=34303fd9cbaa54504acea104ce263a066b4de080;p=feedcatcher.git

diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index d83690e..840f64a 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -1,5 +1,6 @@
 class ApplicationController < ActionController::Base
   # Prevent CSRF attacks by raising an exception.
   # For APIs, you may want to use :null_session instead.
-  protect_from_forgery with: :exception
+  # protect_from_forgery with: :exception
+  protect_from_forgery with: :null_session
 end