Permalinks for directions

This commit is contained in:
John Firebaugh 2014-05-13 11:21:48 -07:00
parent 2b252e8337
commit f2bf38606e
14 changed files with 244 additions and 208 deletions

View file

@ -239,6 +239,9 @@ OpenStreetMap::Application.routes.draw do
match '/geocoder/search_osm_nominatim_reverse' => 'geocoder#search_osm_nominatim_reverse', :via => :get
match '/geocoder/search_geonames_reverse' => 'geocoder#search_geonames_reverse', :via => :get
# directions
match '/directions' => 'directions#search', :via => :get, :as => :directions
# export
match '/export/finish' => 'export#finish', :via => :post
match '/export/embed' => 'export#embed', :via => :get