diff options
author | Jorge Bejar <jorge@wyeworks.com> | 2015-12-09 10:48:59 -0300 |
---|---|---|
committer | Jorge Bejar <jorge@wyeworks.com> | 2015-12-09 10:53:47 -0300 |
commit | 34bfca2fee65bc7b6bf8b64a890bd423595554c9 (patch) | |
tree | 7ee2cc412c4515affcdfca6d1a29c7fe9220199c /railties/lib/rails | |
parent | a0343d11f1bf80a79e273c1d0cf9934ef2601e98 (diff) | |
download | rails-34bfca2fee65bc7b6bf8b64a890bd423595554c9.tar.gz rails-34bfca2fee65bc7b6bf8b64a890bd423595554c9.tar.bz2 rails-34bfca2fee65bc7b6bf8b64a890bd423595554c9.zip |
We don't need to set config.debug_exception_response_format given that :api is the default value for only API apps
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt | 6 |
1 files changed, 0 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 f91512b3af..2778dd8247 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 @@ -23,12 +23,6 @@ Rails.application.configure do config.action_controller.perform_caching = false config.cache_store = :null_store end - <%- if options[:api] -%> - - # Return error responses in the format requested by the client - # or default to JSON format. - config.debug_exception_response_format = :api - <%- end -%> <%- unless options.skip_action_mailer? -%> # Don't care if the mailer can't send. |