From db3f68f4d733437ade5d0668b981542b2e0873b2 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Fri, 22 Apr 2016 17:17:54 +0530 Subject: `debug_exception_format` is set to :api by default for API apps only, not for normal apps. [ci skip] --- guides/source/api_app.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3