new_framework_defaults_7_0.rb 526 B

12345678910
  1. # frozen_string_literal: true
  2. # TODO
  3. # The Rails 7.0 framework default here is to set this true. However, we have a
  4. # location in devise that redirects where we don't have an easy ability to
  5. # override a method or set a config option, but where the redirect does not
  6. # provide this option.
  7. # https://github.com/heartcombo/devise/blob/v4.9.2/app/controllers/devise/confirmations_controller.rb#L28
  8. # Once a solution is found, this line can be removed.
  9. Rails.application.config.action_controller.raise_on_open_redirects = false