Skip to content

Instantly share code, notes, and snippets.

@zackham
Created November 2, 2011 01:49
Show Gist options
  • Save zackham/1332631 to your computer and use it in GitHub Desktop.
Save zackham/1332631 to your computer and use it in GitHub Desktop.
.details
- if route.distance
%h2.distance
#{distance(route.distance, :km_mi, true)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment