environment assets config
This commit is contained in:
parent
bd60f68cfe
commit
a972074306
3 changed files with 7 additions and 5 deletions
|
@ -40,10 +40,6 @@ Metamaps::Application.configure do
|
|||
# Print deprecation notices to the Rails logger
|
||||
config.active_support.deprecation = :log
|
||||
|
||||
# Compress assets
|
||||
config.assets.compile = true
|
||||
config.assets.compress = false
|
||||
|
||||
# Expands the lines which load the assets
|
||||
config.assets.debug = true
|
||||
end
|
||||
|
|
|
@ -15,7 +15,7 @@ Metamaps::Application.configure do
|
|||
# Disable Rails's static asset server (Apache or nginx will already do this)
|
||||
config.serve_static_files = true
|
||||
|
||||
config.assets.compile = true
|
||||
config.assets.compile = false
|
||||
|
||||
# Compress JavaScripts and CSS
|
||||
config.assets.compress = true
|
||||
|
|
|
@ -30,4 +30,10 @@ Metamaps::Application.configure do
|
|||
|
||||
# Print deprecation notices to the stderr
|
||||
config.active_support.deprecation = :stderr
|
||||
|
||||
#assets config
|
||||
config.assets.compile = true
|
||||
config.assets.compress = false
|
||||
config.assets.debug = false
|
||||
config.assets.digest = false
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue