Link helper namings counterintuitive in an environment where convention
over
configuration prevails:
<%= link_to_javascript ‘myscript’ %>
<%= stylesheet_link_tag ‘mystyle’ %>
A simple def in ActionView::Helpers::AssetTagHelper would fix things in
a
nice, backward-compatible way, such that:
<%= link_to_javascript ‘myscript’ %>
<%= link_to_stylesheet ‘mystyle’ %>
In the meantime I can do a def in my own app’s helpers.