diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2016-04-29 16:00:15 +0000 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2016-04-29 16:00:15 +0000 |
commit | 9d1bf059c0a570f68b2394bfb383434a6b0d0a49 (patch) | |
tree | 67b2ede3e22eda2eac05ccaf6fa0db4164662bbe /guides/source/api_app.md | |
parent | 4a446220a67e115c04a2b562dce92981a8e18c78 (diff) | |
parent | 0f91e2bc2591340369c7644678eab6c1d93043c1 (diff) | |
download | rails-9d1bf059c0a570f68b2394bfb383434a6b0d0a49.tar.gz rails-9d1bf059c0a570f68b2394bfb383434a6b0d0a49.tar.bz2 rails-9d1bf059c0a570f68b2394bfb383434a6b0d0a49.zip |
Merge branch 'master' of github.com:rails/docrails
Conflicts:
guides/source/configuring.md
Diffstat (limited to 'guides/source/api_app.md')
-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 e50a24ce55..56a0767131 100644 --- a/guides/source/api_app.md +++ b/guides/source/api_app.md @@ -179,7 +179,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`, when `config.api_only` is set to true. Finally, inside `app/controllers/application_controller.rb`, instead of: |