]> git.openstreetmap.org Git - rails.git/commit
Make the search form a GET form with no extra fields
authorTom Hughes <tom@compton.nu>
Fri, 7 Mar 2014 19:18:24 +0000 (19:18 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 7 Mar 2014 19:18:24 +0000 (19:18 +0000)
commit8c82be0537e1bbdcbd7f20d5f26deaae09774281
tree37fc4001d903ee8ad082100a2a9c9af7166d3653
parentd65e01982324fa28b03557f3b819328e5c0b724c
Make the search form a GET form with no extra fields

We only accept GET requests for the search, and although the form is
never normally submitted directly some browsers offer an option to
create a bookmark from a form, so make that work.
app/views/layouts/_search.html.erb