Skip to content

Instantly share code, notes, and snippets.

@boyvanamstel
Created July 8, 2011 14:29
Show Gist options
  • Save boyvanamstel/1071959 to your computer and use it in GitHub Desktop.
Save boyvanamstel/1071959 to your computer and use it in GitHub Desktop.
Add javascripts inside view in Rails, using haml and the compass html5-boilerplate
- content_for :javascripts do
= javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false"
= javascript_include_tag "maps"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment