README.md in ember-rails-assets-0.1.0 vs README.md in ember-rails-assets-0.1.1
- old
+ new
@@ -15,13 +15,17 @@
Ember: Require `ember-rails-assets` anywhere, then use the `asset-path` helper in your template:
```javascript
// app/assets/javascripts/application.js
//= require ember-rails-assets
+```
-// app/assets/javascripts/templates/application.hbs
-<img src="{{asset-path "dogs/chihuahua"}}" />
+```handlebars
+<!-- app/assets/javascripts/templates/application.hbs -->
+<img src="{{asset-path "logo.png"}}" />
```
+
+This will output `<img src="/assets/logo.png" />` in development, and `<img src="/assets/logo-a7f68910d32291ed6470a764a2e59465.png" />` in production.
## Contributing
1. Fork it ( https://github.com/botandrose/ember-rails-assets/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)