diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-04-22 17:17:54 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-04-22 17:17:54 +0530 |
commit | db3f68f4d733437ade5d0668b981542b2e0873b2 (patch) | |
tree | 3e0be98f87f1238748636b339b1e50aeb2711c16 /guides | |
parent | 2ef7741305298ff13618eca82a3d9b9cc0c133b7 (diff) | |
download | rails-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')
-rw-r--r-- | guides/source/api_app.md | 2 |
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: |