We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ba79bc commit f51ae5fCopy full SHA for f51ae5f
app/controllers/application_controller.rb
@@ -1,7 +1,7 @@
1
class ApplicationController < ActionController::Base
2
# Prevent CSRF attacks by raising an exception.
3
# For APIs, you may want to use :null_session instead.
4
- # protect_from_forgery with: :exception
+ protect_from_forgery with: :null_session
5
6
helper_method :current_user
7
0 commit comments