Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add image_pack_tag helper #1400

Merged

Conversation

maschwenk
Copy link
Contributor

Refiling of #1376 with specs and adjustment of HMR logic

I migrated my project to use packs for static images and found that image tag references because very cumbersome and wordy when I would have to constantly write:

= link_to image_tag(asset_pack_path('my_iage.png')), root_path

@maschwenk maschwenk force-pushed the feature.add-image-pack-tag-helper branch from a1298f7 to 2089704 Compare April 2, 2018 22:24
@guilleiguaran guilleiguaran merged commit 1f8d80c into rails:master Apr 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants