Skip to content

Commit

Permalink
The url for the map was slightly wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Sep 29, 2013
1 parent f0f1f0f commit 9c944f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/js/models/campsite.js
Expand Up @@ -240,7 +240,7 @@ App.Campsite = DS.Model.extend({
userLongitude = App.get("longitude");
userLatitude = App.get("latitude");
if (userLongitude && userLatitude) {
return "http://maps.google.com/maps?saddr=you+are+here@" + userLatitude + "," + userLongitude + "&daddr=" + this.get("shortName") + "@" + this.get("latitude") + "," + this.get("longitude") + ")";
return "http://maps.google.com/maps?saddr=you+are+here@" + userLatitude + "," + userLongitude + "&daddr=" + this.get("shortName") + "@" + this.get("latitude") + "," + this.get("longitude");
}
}.property("longitude", "latitude", "App.latitude", "App.longitude")

Expand Down

0 comments on commit 9c944f4

Please sign in to comment.