Skip to content

Instantly share code, notes, and snippets.

@dmclark
Created October 20, 2010 18:03
Show Gist options
  • Save dmclark/636957 to your computer and use it in GitHub Desktop.
Save dmclark/636957 to your computer and use it in GitHub Desktop.
resources :directions
resources :neighborhoods
match '/neighborhood(/:neighborhood_name)', :to => "neighborhood#show", :as => :neighborhood
resources :venues
match '/about', :to => "pages#about"
match "/directions/:start/:destination" => 'directions#show', :as => :get_directions
root :to => 'directions#new'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment