summaryrefslogtreecommitdiff
path: root/config/application.rb
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2012-06-22 03:09:36 -0700
committerNihad Abbasov <narkoz.2008@gmail.com>2012-06-22 03:09:36 -0700
commita21bda5ac99d186dce492e3291990d0761359919 (patch)
tree4df8bdc9d95936f307bded7ce4e61dca7ef15ac0 /config/application.rb
parentfd44b6b69d5ef3f3f454cfc4fec72d04ddd5586a (diff)
downloadgitlab-ce-a21bda5ac99d186dce492e3291990d0761359919.tar.gz
load assets group to allow lazy compilation in production
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/application.rb b/config/application.rb
index 7bd5703b31a..dc6b734f0fa 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -4,9 +4,9 @@ require 'rails/all'
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
- Bundler.require *Rails.groups(:assets => %w(development test))
+ # Bundler.require *Rails.groups(:assets => %w(development test))
# If you want your assets lazily compiled in production, use this line
- # Bundler.require(:default, :assets, Rails.env)
+ Bundler.require(:default, :assets, Rails.env)
end
module Gitlab