Upgraded to Rails 7.0.4.2

This commit is contained in:
2023-03-06 11:53:59 +00:00
parent 663a9030ab
commit 40263ec1e7
7 changed files with 111 additions and 83 deletions

View File

@@ -4,6 +4,5 @@ pin "application", preload: true
pin "@hotwired/turbo-rails", to: "turbo.min.js", preload: true
pin "@hotwired/stimulus", to: "stimulus.min.js", preload: true
pin "@hotwired/stimulus-loading", to: "stimulus-loading.js", preload: true
pin_all_from "app/javascript/controllers", under: "controllers"
pin "trix"
pin "@rails/actiontext", to: "actiontext.js"
pin "script"
# pin_all_from "app/javascript/controllers", under: "controllers"

View File

@@ -308,4 +308,7 @@ Devise.setup do |config|
# When set to false, does not sign a user in automatically after their password is
# changed. Defaults to true, so a user is signed in automatically after changing a password.
# config.sign_in_after_change_password = true
config.responder.error_status = :unprocessable_entity
config.responder.redirect_status = :see_other
end