From f083ba386203d180e42282bc8596741980791b09 Mon Sep 17 00:00:00 2001 From: Godwin Date: Sun, 30 Aug 2015 12:35:14 -0700 Subject: [PATCH] Fixed server_static_assets deprecation warning --- config/environments/preview.rb | 2 +- config/environments/production.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/preview.rb b/config/environments/preview.rb index 5bf718d..6ed4482 100644 --- a/config/environments/preview.rb +++ b/config/environments/preview.rb @@ -20,7 +20,7 @@ BikeBike::Application.configure do # config.action_dispatch.rack_cache = true # 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. config.assets.js_compressor = :uglifier diff --git a/config/environments/production.rb b/config/environments/production.rb index 9f8616b..76a76ce 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -20,7 +20,7 @@ BikeBike::Application.configure do # config.action_dispatch.rack_cache = true # 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. config.assets.js_compressor = :uglifier