asset-path helper for ember-rails, including digests in production!
Add this line to your application's Gemfile:
ember-rails-assets anywhere, then use the
asset-path helper in your template:
This will output
<img src="/assets/logo.png" /> in development, and
<img src="/assets/logo-a7f68910d32291ed6470a764a2e59465.png" /> in production.
This gem supports Rails 4.x and Ember 1.13.x and up.
- Fork it ( https://github.com/botandrose/ember-rails-assets/fork )
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request