README.md in svg_hearts_you-0.0.1 vs README.md in svg_hearts_you-0.0.2
- old
+ new
@@ -42,10 +42,15 @@
# or
config.svg_paths += ['/one/path', '/two/path']
end
```
+If you are using middleman, you will need to activate the extension to include
+the helpers (and optionally set the `svg_paths` this way as well). In config.rb:
+```
+activate :svg_hearts_you, svg_paths: '/some/absolute/path'
+```
## Usage
**SVG ❤’s You** provides the following helper methods. These methods are automatically exposed to views in Rails and Middleman. In other environments, use the class methods on the SvgHeartsYou module (i.e. `SvgHeartsYou.svg_use 'hello'`).