Permalink
Browse files

add twipsy for home page

  • Loading branch information...
1 parent 5c1191a commit 06b284570f361c781ea6fc95afaa95e65a524b29 @lucapette committed Jan 15, 2012
Showing with 8 additions and 0 deletions.
  1. +6 −0 app/assets/javascripts/welcome.coffee
  2. +2 −0 app/views/welcome/index.html.erb
@@ -0,0 +1,6 @@
+$ ->
+ $links = $('body').find('a')
+ $links.each (i , e) ->
+ $e = $(e)
+ $e.attr('title',$e.attr('href'))
+ $links.twipsy()
@@ -12,3 +12,5 @@
</ul>
<p>Further details in <a href="http://lucapette.com/rails/twitter-bootstrap-on-rails/">this</a> blog post.</p>
+
+<%= javascript 'welcome' %>

0 comments on commit 06b2845

Please sign in to comment.