Rails 7.0 update (#25668)
This commit is contained in:
parent
8d0c69529a
commit
ce43ed144c
23 changed files with 251 additions and 138 deletions
10
config/initializers/new_framework_defaults_7_0.rb
Normal file
10
config/initializers/new_framework_defaults_7_0.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# TODO
|
||||
# The Rails 7.0 framework default here is to set this true. However, we have a
|
||||
# location in devise that redirects where we don't have an easy ability to
|
||||
# override a method or set a config option, but where the redirect does not
|
||||
# provide this option.
|
||||
# https://github.com/heartcombo/devise/blob/v4.9.2/app/controllers/devise/confirmations_controller.rb#L28
|
||||
# Once a solution is found, this line can be removed.
|
||||
Rails.application.config.action_controller.raise_on_open_redirects = false
|
Loading…
Add table
Add a link
Reference in a new issue