fix: ensure turbo_stream request are not considered as navigational

This commit is contained in:
Nicolas Cavigneaux 2023-03-15 14:59:48 +01:00 committed by Colin Darie
parent 3aa6a5e28e
commit c1453c5f5c
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -227,7 +227,7 @@ Devise.setup do |config|
# should add them to the navigational formats lists.
#
# The "*/*" below is required to match Internet Explorer requests.
# config.navigational_formats = ['*/*', :html]
config.navigational_formats = ['*/*', :html]
# The default HTTP method used to sign out a resource. Default is :delete.
config.sign_out_via = :delete