rails/rails — Issue #4416: asset_tag setting "href" => path_to_asset...
Author: ifightcrime
Created: 2012-01-12 00:44:07+00:00
State: open

Can someone please tell me why asset_tag sets "href" to path_to_asset, when options already has href defined, this just overwriting it?

The really weird part is that path_to_asset seems to return the entire content of the asset, not the path.

https://github.com/rails/rails/blob/master/actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb#L20