README.md in smart_assets-0.1.0 vs README.md in smart_assets-0.2.0
- old
+ new
@@ -26,12 +26,13 @@
config.smart_assets.serve_non_digest_assets = false
It is disabled by default for `development` environments, but may be enabled there using the above setting.
-`serve_static_assets` or `assets.compile` must be changed to true or the middleware will disable itself:
+`serve_static_files` (`serve_static_assets` in Rails 4.0-4.1), or `assets.compile` must be changed to true or the middleware will disable itself:
- config.serve_static_assets = true
+ config.serve_static_files = true # Rails 4.2+
+ config.serve_static_assets = true # Rails 4.0 & 4.1
## Installation
Add this line to your application's Gemfile: