diff options
-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 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: |