asset precompiling simpler in rails 4
This commit is contained in:
parent
62e96d574c
commit
558ced62a8
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue