diff options
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt index eaa885671b..238f45251e 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt @@ -25,12 +25,12 @@ Rails.application.configure do end <%- if options[:api] -%> - # Return error responses in the format requested by the client - # or default to JSON format. - # This option is useful for Rails API only applications developers - # who prefer to render errors in the expected format instead of - # rendering a HTML page with debug info and web-console. - config.debug_exception_response_format = :api + # Return error responses in the format requested by the client + # or default to JSON format. + # This option is useful for Rails API only applications developers + # who prefer to render errors in the expected format instead of + # rendering a HTML page with debug info and web-console. + config.debug_exception_response_format = :api <%- end -%> <%- unless options.skip_action_mailer? -%> |