asset precompiling simpler in rails 4

This commit is contained in:
Devin Howard 2015-09-10 22:03:39 +08:00 committed by Connor Turland
parent 62e96d574c
commit 558ced62a8

View file

@ -2,12 +2,7 @@ require File.expand_path('../boot', __FILE__)
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)))
# If you want your assets lazily compiled in production, use this line
# Bundler.require(:default, :assets, Rails.env)
end
Bundler.require(:default, Rails.env)
module Metamaps
class Application < Rails::Application