README.md in inline_svg-1.3.1 vs README.md in inline_svg-1.4.0
- old
+ new
@@ -292,9 +292,18 @@
```html
<svg class='svg-not-found'><!-- SVG file not found: 'some-missing-file.svg' --></svg>
```
+Alternatively, `inline_svg` can be configured to raise an exception when a file
+is not found:
+
+```ruby
+InlineSvg.configure do |config|
+ config.raise_on_file_not_found = true
+end
+```
+
## Contributing
1. Fork it ( [http://github.com/jamesmartin/inline_svg/fork](http://github.com/jamesmartin/inline_svg/fork) )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)