Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix haml javascripting

  • Loading branch information...
commit 24e4f5d99ecdbf98d13bb4b7ea1c16a0010da4da 1 parent 6c2d731
@mlc authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  app/views/layouts/application.haml
View
3  app/views/layouts/application.haml
@@ -67,8 +67,7 @@
:javascript
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <script type="text/javascript">
+ :javascript
try{
var pageTracker = _gat._getTracker("#{PBCore.config[:google_analytics]}");
pageTracker._trackPageview();
Please sign in to comment.
Something went wrong with that request. Please try again.