Commit f48e0cca6d9e0d9c44c797f99959aa8b0dfeb030
Exists in
master
and in
4 other branches
Merge pull request #961 from NARKOZ/load_assets_group
load assets group to allow lazy compilation in production
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
config/application.rb
@@ -4,9 +4,9 @@ require 'rails/all' | @@ -4,9 +4,9 @@ require 'rails/all' | ||
4 | 4 | ||
5 | if defined?(Bundler) | 5 | if defined?(Bundler) |
6 | # If you precompile assets before deploying to production, use this line | 6 | # If you precompile assets before deploying to production, use this line |
7 | - Bundler.require *Rails.groups(:assets => %w(development test)) | 7 | + # Bundler.require *Rails.groups(:assets => %w(development test)) |
8 | # If you want your assets lazily compiled in production, use this line | 8 | # If you want your assets lazily compiled in production, use this line |
9 | - # Bundler.require(:default, :assets, Rails.env) | 9 | + Bundler.require(:default, :assets, Rails.env) |
10 | end | 10 | end |
11 | 11 | ||
12 | module Gitlab | 12 | module Gitlab |