diff options
author | José Valim <jose.valim@gmail.com> | 2011-07-11 11:19:03 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-07-11 11:19:03 -0300 |
commit | 3da3df8fcbe59d6433d1bf6632f73a0161bf48fe (patch) | |
tree | d49102db20a38000ff3edafe60d784020219d991 /railties | |
parent | d5e87226833440ab75038fa430f5b4b7eaf302f1 (diff) | |
download | rails-3da3df8fcbe59d6433d1bf6632f73a0161bf48fe.tar.gz rails-3da3df8fcbe59d6433d1bf6632f73a0161bf48fe.tar.bz2 rails-3da3df8fcbe59d6433d1bf6632f73a0161bf48fe.zip |
Require assets in all environments by default and provide a way to opt-out from uglifier.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/application.rb | 2 |
1 files changed, 1 insertions, 1 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 eaa31e7386..0460009954 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/application.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/application.rb @@ -15,7 +15,7 @@ require "active_resource/railtie" # If you have a Gemfile, require the default gems, the ones in the # current environment and also include :assets gems if in development # or test environments. -Bundler.require *Rails.groups(:assets => %w(development test)) if defined?(Bundler) +Bundler.require *Rails.groups(:assets) if defined?(Bundler) module <%= app_const_base %> class Application < Rails::Application |