fix: ensure turbo_stream request are not considered as navigational
This commit is contained in:
parent
3aa6a5e28e
commit
c1453c5f5c
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ Devise.setup do |config|
|
||||||
# should add them to the navigational formats lists.
|
# should add them to the navigational formats lists.
|
||||||
#
|
#
|
||||||
# The "*/*" below is required to match Internet Explorer requests.
|
# 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.
|
# The default HTTP method used to sign out a resource. Default is :delete.
|
||||||
config.sign_out_via = :delete
|
config.sign_out_via = :delete
|
||||||
|
|
Loading…
Add table
Reference in a new issue