[openstreetmap-website] Directions, read "to" location in URL (feature request) (#998)

Midgard notifications at github.com
Wed Jul 22 13:52:46 UTC 2015


This seems like a bug to me. I'm not all too familiar with the code, but in /app/views/layouts/_search.html.erb I see
```erb
 <span class="force_width"><%= text_field_tag "route_from", params[:from], :placeholder => t('site.search.from') %></span>
(...)
 <span class="force_width"><%= text_field_tag "route_to" , params[:to] , :placeholder => t('site.search.to') %></span>
```

I don't know Ruby so please don't shoot me, but could it have to do with the space after `params[:to]`?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/998#issuecomment-123728976
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20150722/8b2ed8d3/attachment.html>


More information about the rails-dev mailing list