[Rails] ActionController::InvalidAuthenticityToken when useing Rails4 as API
2014-07-03 00:00
1 minute read

change
protect_from_forgery with: :exception
to
protect_from_forgery with: :null_session
in ApplicationController


Back to posts


comments powered by Disqus