Guest User

Untitled

a guest
May 2nd, 2012
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. ActionView::Helpers::AssetTagHelper.module_eval do
  2.  
  3. def stylesheet_tag(source, options)
  4. tag("link", {
  5. "rel" => "stylesheet",
  6. "type" => Mime::CSS,
  7. "media" => "screen",
  8. "href" => html_escape(path_to_stylesheet(source))
  9. }.merge(options), true, false)
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment