Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove leading whitespace for optional requires

  • Loading branch information...
commit c4ba1afc41a6150887218c8c6691d5f407fa1860 1 parent 0988da6
Aaron Kalin authored July 23, 2011
6  railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -4,12 +4,12 @@
4 4
 require 'rails/all'
5 5
 <% else -%>
6 6
 # Pick the frameworks you want:
7  
-<%= comment_if :skip_active_record %> require "active_record/railtie"
  7
+<%= comment_if :skip_active_record %>require "active_record/railtie"
8 8
 require "action_controller/railtie"
9 9
 require "action_mailer/railtie"
10 10
 require "active_resource/railtie"
11  
-<%= comment_if :skip_sprockets %> require "sprockets/railtie"
12  
-<%= comment_if :skip_test_unit %> require "rails/test_unit/railtie"
  11
+<%= comment_if :skip_sprockets %>require "sprockets/railtie"
  12
+<%= comment_if :skip_test_unit %>require "rails/test_unit/railtie"
13 13
 <% end -%>
14 14
 
15 15
 # If you have a Gemfile, require the default gems, the ones in the

0 notes on commit c4ba1af

Please sign in to comment.
Something went wrong with that request. Please try again.