diff options
author | Teng Siong Ong <siong1987@gmail.com> | 2011-07-13 00:59:30 +0800 |
---|---|---|
committer | Teng Siong Ong <siong1987@gmail.com> | 2011-07-13 00:59:30 +0800 |
commit | 5e73a2fa50e0e54ee69ab8725dc2d23facaf807d (patch) | |
tree | beed6775acd52dfa02581650819b5f626a8081ce /railties | |
parent | e4479b2f1bc54edf155408d51dd3236955150ce1 (diff) | |
download | rails-5e73a2fa50e0e54ee69ab8725dc2d23facaf807d.tar.gz rails-5e73a2fa50e0e54ee69ab8725dc2d23facaf807d.tar.bz2 rails-5e73a2fa50e0e54ee69ab8725dc2d23facaf807d.zip |
remove extra space since comment_if already returns the space.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/application.rb | 4 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/templates/rails/application.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/application.rb b/railties/lib/rails/generators/rails/app/templates/config/application.rb index 0460009954..500693a568 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/application.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/application.rb @@ -8,8 +8,8 @@ require 'rails/all' require "action_controller/railtie" require "action_mailer/railtie" require "active_resource/railtie" -<%= comment_if :skip_sprockets %> require "sprockets/railtie" -<%= comment_if :skip_test_unit %> require "rails/test_unit/railtie" +<%= comment_if :skip_sprockets %>require "sprockets/railtie" +<%= comment_if :skip_test_unit %>require "rails/test_unit/railtie" <% end -%> # If you have a Gemfile, require the default gems, the ones in the diff --git a/railties/lib/rails/generators/rails/plugin_new/templates/rails/application.rb b/railties/lib/rails/generators/rails/plugin_new/templates/rails/application.rb index 4864ead960..996ea79e67 100644 --- a/railties/lib/rails/generators/rails/plugin_new/templates/rails/application.rb +++ b/railties/lib/rails/generators/rails/plugin_new/templates/rails/application.rb @@ -8,8 +8,8 @@ require 'rails/all' require "action_controller/railtie" require "action_mailer/railtie" require "active_resource/railtie" -<%= comment_if :skip_sprockets %> require "sprockets/railtie" -<%= comment_if :skip_test_unit %> require "rails/test_unit/railtie" +<%= comment_if :skip_sprockets %>require "sprockets/railtie" +<%= comment_if :skip_test_unit %>require "rails/test_unit/railtie" <% end -%> Bundler.require |