Fixed server_static_assets deprecation warning
This commit is contained in:
		
							parent
							
								
									4f14f53b7a
								
							
						
					
					
						commit
						f083ba3862
					
				| @ -20,7 +20,7 @@ BikeBike::Application.configure do | |||||||
| 	# config.action_dispatch.rack_cache = true | 	# config.action_dispatch.rack_cache = true | ||||||
| 
 | 
 | ||||||
| 	# Disable Rails's static asset server (Apache or nginx will already do this). | 	# Disable Rails's static asset server (Apache or nginx will already do this). | ||||||
| 	config.serve_static_assets = true | 	config.serve_static_files = true | ||||||
| 
 | 
 | ||||||
| 	# Compress JavaScripts and CSS. | 	# Compress JavaScripts and CSS. | ||||||
| 	config.assets.js_compressor = :uglifier | 	config.assets.js_compressor = :uglifier | ||||||
|  | |||||||
| @ -20,7 +20,7 @@ BikeBike::Application.configure do | |||||||
| 	# config.action_dispatch.rack_cache = true | 	# config.action_dispatch.rack_cache = true | ||||||
| 
 | 
 | ||||||
| 	# Disable Rails's static asset server (Apache or nginx will already do this). | 	# Disable Rails's static asset server (Apache or nginx will already do this). | ||||||
| 	config.serve_static_assets = true | 	config.serve_static_files = true | ||||||
| 
 | 
 | ||||||
| 	# Compress JavaScripts and CSS. | 	# Compress JavaScripts and CSS. | ||||||
| 	config.assets.js_compressor = :uglifier | 	config.assets.js_compressor = :uglifier | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user