From 7f9c9d6dcbe83f857639b7ac6dd2f79295fef875 Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Sat, 23 Apr 2016 11:22:43 +0530 Subject: be specific when the debug_exception_response_format to :api [ci skip] --- guides/source/api_app.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') 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: -- cgit v1.2.3