open_redirects.rb 426 B

1234567
  1. # frozen_string_literal: true
  2. # TODO: Starting with Rails 7.0, the framework default is true for this setting.
  3. # This location in devise redirects and we can't hook in or override:
  4. # https://github.com/heartcombo/devise/blob/v4.9.3/app/controllers/devise/confirmations_controller.rb#L28
  5. # When solution is found, this setting can go back to default.
  6. Rails.application.config.action_controller.raise_on_open_redirects = false