]> git.openstreetmap.org Git - rails.git/commit
Add B000FTFT (as well as B000FTF) to the list of layers we should
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 29 Jun 2009 09:47:35 +0000 (09:47 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 29 Jun 2009 09:47:35 +0000 (09:47 +0000)
commit85f317b46e49ca20db53ad4465054e0fbe3fc88e
tree428ec512e5043eefe4402ab3372bc0354d32dbc6
parentb06f4750e1235e734c34846c05dcb90095ed2e56
Add B000FTFT (as well as B000FTF) to the list of layers we should
ignore when constructing the shortlink.

The shortlink was also broken for the new /?{node,way,relation}=id
construct since the code assumed that all URL parameters that weren't
lat/lon/zoom/layers could be safely ignored. I've added
node/way/relation to that list but for future-proofness it might be
better to simply check if there's anything left in ''args'' that we
don't know how to encode, rather than checking on values we know about
now.
public/javascripts/site.js