You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #49 the rake bower:resolve task was introduced, which replaces any url(some_asset) with a url(<%= asset_path('some_asset') %>) ERB code.
At least for CSS (and Sass), this can be achieved much more cleanly using the asset-url and asset-path helpers -- i.e. converting the above to asset-url(some_asset).
Apart from being a cleaner solution, it also avoids using ERB in the process (since Assets Pipeline already knows to handle this in regular CSS files).
I'm wondering if this can be considered? Thanks!
The text was updated successfully, but these errors were encountered:
In #49 the
rake bower:resolve
task was introduced, which replaces anyurl(some_asset)
with aurl(<%= asset_path('some_asset') %>)
ERB code.At least for CSS (and Sass), this can be achieved much more cleanly using the
asset-url
andasset-path
helpers -- i.e. converting the above toasset-url(some_asset)
.Apart from being a cleaner solution, it also avoids using ERB in the process (since Assets Pipeline already knows to handle this in regular CSS files).
I'm wondering if this can be considered? Thanks!
The text was updated successfully, but these errors were encountered: