Skip to content

Instantly share code, notes, and snippets.

@slawosz
Created May 19, 2010 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slawosz/406165 to your computer and use it in GitHub Desktop.
Save slawosz/406165 to your computer and use it in GitHub Desktop.
# Add a haml layout with google's jQuery
file "app/views/layouts/application.haml", <<-HAML
!!! 5
%html
%head
= csrf_meta_tag
= stylesheet_link_tag 'screen.css', :media => 'screen, projection'
= stylesheet_link_tag 'print.css', :media => 'print'
/[if lt IE 8]
= stylesheet_link_tag 'ie.css', :media => 'screen, projection'
= javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'
= javascript_include_tag 'application.js'
%body
= yield
HAML
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment