X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6b236ec95bc8072b0a839fecabb1412b76b8a7e2..fb9b4edcdd95884759fc5013ac2bf86b26ea0bce:/app/assets/javascripts/index.js diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 5ddd1bba1..3ce1a02da 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -261,13 +261,13 @@ $(document).ready(function () { "/": OSM.Index(map), "/search": OSM.Search(map), "/export": OSM.Export(map), - "/new_note": OSM.NewNote(map), + "/note/new": OSM.NewNote(map), + "/history/friends": history, + "/history/nearby": history, "/history": history, - "/user/:display_name/edits": history, - "/browse/friends": history, - "/browse/nearby": history, - "/browse/note/:id": OSM.Note(map), - "/browse/:type/:id(/history)": OSM.Browse(map) + "/user/:display_name/history": history, + "/note/:id": OSM.Note(map), + "/:type/:id(/history)": OSM.Browse(map) }); OSM.router.load();