X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5384ee236cfbb1a33e018f9b85c63d765961a479..77b4ff6ceb81a326b7ed3c80cf5d65ec2a2b18d5:/app/assets/javascripts/index/notes.js.erb diff --git a/app/assets/javascripts/index/notes.js.erb b/app/assets/javascripts/index/notes.js.erb index 11363fca8..841ae1f7b 100644 --- a/app/assets/javascripts/index/notes.js.erb +++ b/app/assets/javascripts/index/notes.js.erb @@ -34,7 +34,7 @@ function initializeNotes(map) { }); noteLayer.on('click', function(e) { - OSM.route('/browse/note/' + e.layer.id); + OSM.router.route('/note/' + e.layer.id); }); function updateMarker(marker, feature) {