diff options
author | Jorge Bejar <jorge@wyeworks.com> | 2015-07-21 12:01:18 -0300 |
---|---|---|
committer | Jorge Bejar <jorge@wyeworks.com> | 2015-12-09 10:53:46 -0300 |
commit | cd27e1fe35e02c2059c18327749f2372191bb65e (patch) | |
tree | e9771c907865aa6db13298fcc7d125fa788088f4 /railties/lib/rails | |
parent | 6cb578c018b1136696f9c9d30ed1352c2c014f30 (diff) | |
download | rails-cd27e1fe35e02c2059c18327749f2372191bb65e.tar.gz rails-cd27e1fe35e02c2059c18327749f2372191bb65e.tar.bz2 rails-cd27e1fe35e02c2059c18327749f2372191bb65e.zip |
Fix indent in generated Rails API env file
Diffstat (limited to 'railties/lib/rails')
-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? -%> |