macOS 10.15.4 Ruby 2.5 Rails 5.2
There is no mistake in the code description There is no defect in the javascript description of the head ... If so, what is the cause of the error ...
I found an article that ** cannot be done with GET if the Http method of sign_out is DELETE.
Go to config / initializers / devise.rb. Then edit the value of config.sign_out_via from DELETE to GET.
config.sign_out_via = :get
When I ran it again after this edit, the error was fixed brilliantly ^ _ ^
Recommended Posts