]> git.openstreetmap.org Git - rails.git/commit
Make the edit action default to z17
authorTom Hughes <tom@compton.nu>
Fri, 6 May 2011 23:05:49 +0000 (00:05 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 6 May 2011 23:05:49 +0000 (00:05 +0100)
commit42e72d559118f59269b9d70f1e9f7154a1121c37
tree34decef2ad29c1d1d5ce9f4c2456b0168a62287f
parent924d09229e9a34f167cf24ad17c94808d1711627
Make the edit action default to z17

If an attempt is made to invoke an editor without specifying a zoom
level (as with the GPX edit links) then default to z17 instead of z14
to avoid trying to load too much data. Fixes #3728.
app/controllers/site_controller.rb