From cd27e1fe35e02c2059c18327749f2372191bb65e Mon Sep 17 00:00:00 2001 From: Jorge Bejar Date: Tue, 21 Jul 2015 12:01:18 -0300 Subject: Fix indent in generated Rails API env file --- .../app/templates/config/environments/development.rb.tt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'railties/lib/rails') 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? -%> -- cgit v1.2.3