Skip to content

Commit

Permalink
Merge pull request #3606 from Crown-Commercial-Service/update-devise-…
Browse files Browse the repository at this point in the history
…configuration

Add Devise configuration that was missed for turbolinks
  • Loading branch information
tim-s-ccs authored Mar 16, 2023
2 parents 2213cbb + e0dfd2c commit e17c49a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/initializers/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,10 @@

# ==> 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

ActiveSupport.on_load(:devise_failure_app) do
include Turbolinks::Controller
end

# ==> Configuration for :registerable

Expand Down

0 comments on commit e17c49a

Please sign in to comment.