X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fcontrollers%2Fapplication_controller.rb;fp=app%2Fcontrollers%2Fapplication_controller.rb;h=edcea80d3fc2098d36c2d2bd307036f63222aacf;hb=449f88a595af707cec02270dd752773a18dacfc2;hp=840f64a869d8e9f56d14c3ccb01bf4edab74f199;hpb=7068571b286f8f61bdc4f81ca53fb5ee5b7a2681;p=feedcatcher.git diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 840f64a..edcea80 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,6 +1,7 @@ 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: :null_session end