You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config/initilizers/devise.rb includes this commented text.
# ==> Turbolinks configuration
# If your app is using Turbolinks, Turbolinks::Controller needs to be included to make redirection work correctly:
#
# ActiveSupport.on_load(:devise_failure_app) do
# include Turbolinks::Controller
# end
Expected behavior
Good question: What should the settings be for an app with Turbo?
The text was updated successfully, but these errors were encountered:
Devise currently does not support Turbo, there's some changes required. You can check #5340 and a couple other PRs that have done some work to add support for it, but initially I'd recommend simply disabling turbo if you can in the devise views, e.g. something like #5487.
We'll likely release a version disabling it by default before we have a final fully supported version, just to avoid confusion with new apps.
I only tried it with the logout link, provided that you add a data: { turbo_method: :delete } attribute. Not sure if other functionalities work, but it makes sense.
Environment
Current behavior
config/initilizers/devise.rb
includes this commented text.Expected behavior
Good question: What should the settings be for an app with Turbo?
The text was updated successfully, but these errors were encountered: