Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix a bit precompile and lazy compile comments

  • Loading branch information...
commit 7d4321711ebb99d2669c02b2030ade0de69655af 1 parent 171881f
@spastorino spastorino authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.