Displaying 1 result from an estimated 1 matches for "link_to_stylesheet".
2006 Jul 25
1
Battle of Namings: stylesheet_link_tag vs link_to_javascript
..._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.