Skip to content
Browse files

Fix a bit precompile and lazy compile comments

  • Loading branch information...
1 parent eaee18d commit f2ea1ddc278d5466f3d3b7c8feb73aa9c78d2628 @spastorino spastorino committed with fxn Aug 3, 2011
Showing with 2 additions and 4 deletions.
  1. +2 −4 railties/lib/rails/generators/rails/app/templates/config/application.rb
View
6 railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -12,12 +12,10 @@
<%= comment_if :skip_test_unit %>require "rails/test_unit/railtie"
<% end -%>
-# If you have a Gemfile, require the default gems, the ones in the
-# current environment and also include :assets gems if you ...
if defined?(Bundler)
- # ... precompile your assets
+ # If you precompile assets before deploying to production, use this line
Bundler.require *Rails.groups(:assets => %w(development test))
- # ... want your assets to be lazily compiled also in production
+ # If you want your assets lazily compiled in production, use this line
# Bundler.require(:default, :assets, Rails.env)
end

0 comments on commit f2ea1dd

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