aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJorge Bejar <jorge@wyeworks.com>2015-07-21 12:01:18 -0300
committerJorge Bejar <jorge@wyeworks.com>2015-12-09 10:53:46 -0300
commitcd27e1fe35e02c2059c18327749f2372191bb65e (patch)
treee9771c907865aa6db13298fcc7d125fa788088f4 /railties
parent6cb578c018b1136696f9c9d30ed1352c2c014f30 (diff)
downloadrails-cd27e1fe35e02c2059c18327749f2372191bb65e.tar.gz
rails-cd27e1fe35e02c2059c18327749f2372191bb65e.tar.bz2
rails-cd27e1fe35e02c2059c18327749f2372191bb65e.zip
Fix indent in generated Rails API env file
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt12
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? -%>