aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-04-22 17:17:54 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-04-22 17:17:54 +0530
commitdb3f68f4d733437ade5d0668b981542b2e0873b2 (patch)
tree3e0be98f87f1238748636b339b1e50aeb2711c16 /guides/source
parent2ef7741305298ff13618eca82a3d9b9cc0c133b7 (diff)
downloadrails-db3f68f4d733437ade5d0668b981542b2e0873b2.tar.gz
rails-db3f68f4d733437ade5d0668b981542b2e0873b2.tar.bz2
rails-db3f68f4d733437ade5d0668b981542b2e0873b2.zip
`debug_exception_format` is set to :api by default for API apps only, not for normal apps.
[ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/api_app.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/api_app.md b/guides/source/api_app.md
index 8dba914923..ea71ee96cc 100644
--- a/guides/source/api_app.md
+++ b/guides/source/api_app.md
@@ -181,7 +181,7 @@ To render debugging information preserving the response format, use the value `:
config.debug_exception_response_format = :api
```
-By default, `config.debug_exception_response_format` is set to `:api`.
+By default, `config.debug_exception_response_format` is set to `:api` for API apps.
Finally, inside `app/controllers/application_controller.rb`, instead of: