Revert "Rails 7 update" (#25667)

This commit is contained in:
Eugen Rochko
2023-07-02 11:14:22 +02:00
committed by GitHub
parent 5b46345459
commit ba06a2f104
22 changed files with 144 additions and 242 deletions

View File

@ -1,10 +0,0 @@
# 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