Skip to content
Snippets Groups Projects
Commit a21bda5a authored by Nihad Abbasov's avatar Nihad Abbasov
Browse files

load assets group to allow lazy compilation in production

parent fd44b6b6
No related branches found
No related tags found
1 merge request!961load assets group to allow lazy compilation in production
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment