Fixed assets serving
This commit is contained in:
@@ -58,5 +58,7 @@ module Community
|
||||
|
||||
# Version of your assets, change this if you want to expire all your assets
|
||||
config.assets.version = '1.0'
|
||||
|
||||
config.assets.precompile += ['*.css', '*.js']
|
||||
end
|
||||
end
|
||||
|
||||
@@ -9,7 +9,7 @@ Community::Application.configure do
|
||||
config.action_controller.perform_caching = true
|
||||
|
||||
# Disable Rails's static asset server (Apache or nginx will already do this)
|
||||
config.serve_static_assets = false
|
||||
config.serve_static_assets = true
|
||||
|
||||
# Compress JavaScripts and CSS
|
||||
config.assets.compress = true
|
||||
|
||||
Reference in New Issue
Block a user