]> git.openstreetmap.org Git - rails.git/commit
Improve redirection of shortlinks
authorTom Hughes <tom@compton.nu>
Sat, 15 Feb 2014 12:42:52 +0000 (12:42 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 15 Feb 2014 12:42:52 +0000 (12:42 +0000)
commit47841829d81dc9475d34dd716220744c284e7f82
treef4542a3c6bc70a53759a8ca38bb8447e1dccc0bd
parentb9473581343a24c58c6fd39458a3057232758e56
Improve redirection of shortlinks

If a shortlink includes an object reference then redirect to a new
style browse URL for that object.

Fixes #702
app/controllers/site_controller.rb
test/functional/site_controller_test.rb