README.md in jquery-toastmessage-rails-1.0.1 vs README.md in jquery-toastmessage-rails-1.0.2
- old
+ new
@@ -32,9 +32,23 @@
/*
*= require jquery.toastmessage
*/
```
+Add images to Rails assets precompile configuration.
+
+For Rails 4.1+, add the following line to update config/assets.rb:
+
+```ruby
+Rails.application.config.assets.precompile += /jquery\-toastmessage\/.+\.(?:gif|png)$/
+```
+
+For Rails 3.1+, add the following line to config/application.rb:
+
+```ruby
+config.assets.precompile += /jquery\-toastmessage\/.+\.(?:gif|png)$/
+```
+
## Release
See [VERSIONS.md](VERSIONS.md) for details.
## Contributing