aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2016-04-23 11:22:43 +0530
committerVipul A M <vipulnsward@gmail.com>2016-04-23 11:22:43 +0530
commit7f9c9d6dcbe83f857639b7ac6dd2f79295fef875 (patch)
tree44d28aee806c35ca6ee64ecf0d17269ccb6be3a3 /guides
parent4d770712595ae1d4937d602dce7ab1220ec6ef7f (diff)
downloadrails-7f9c9d6dcbe83f857639b7ac6dd2f79295fef875.tar.gz
rails-7f9c9d6dcbe83f857639b7ac6dd2f79295fef875.tar.bz2
rails-7f9c9d6dcbe83f857639b7ac6dd2f79295fef875.zip
be specific when the debug_exception_response_format to :api
[ci skip]
Diffstat (limited to 'guides')
-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 ea71ee96cc..7e6e411c02 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` for API apps.
+By default, `config.debug_exception_response_format` is set to `:api`, when `config.api_only` is set to true.
Finally, inside `app/controllers/application_controller.rb`, instead of: