Permalink
Browse files

Merge pull request #38 from gsamokovarov/patch-1

visit: visit is the same as {visit}
  • Loading branch information...
2 parents a27ce7c + 354229f commit e81f20eaa2af226663eb7b9d223b301f53157087 @dhh dhh committed Sep 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/assets/javascripts/turbolinks.js.coffee
@@ -160,4 +160,4 @@ if browserSupportsPushState
handleClick event
# Call Turbolinks.visit(url) from client code
-@Turbolinks = visit: visit
+@Turbolinks = {visit}

0 comments on commit e81f20e

Please sign in to comment.