Merge pull request #5640 from nmaggioni/nm_config_template_typo

Fix typo in config template
This commit is contained in:
Carlos Antonio da Silva
2023-10-11 11:40:50 -03:00
parent c146b25f31
commit dcbfb32e66
2 changed files with 2 additions and 2 deletions

View File

@@ -483,7 +483,7 @@ Devise.setup do |config|
# ...
# When using Devise with Hotwire/Turbo, the http status for error responses
# and some redirects must match the following. The default in Devise for existing
# apps is `200 OK` and `302 Found respectively`, but new apps are generated with
# apps is `200 OK` and `302 Found` respectively, but new apps are generated with
# these new defaults that match Hotwire/Turbo behavior.
# Note: These might become the new default in future versions of Devise.
config.responder.error_status = :unprocessable_entity

View File

@@ -299,7 +299,7 @@ Devise.setup do |config|
# ==> Hotwire/Turbo configuration
# When using Devise with Hotwire/Turbo, the http status for error responses
# and some redirects must match the following. The default in Devise for existing
# apps is `200 OK` and `302 Found respectively`, but new apps are generated with
# apps is `200 OK` and `302 Found` respectively, but new apps are generated with
# these new defaults that match Hotwire/Turbo behavior.
# Note: These might become the new default in future versions of Devise.
config.responder.error_status = :unprocessable_entity