adopt-a-hydrant/config/routes.rb

10 lines
255 B
Ruby
Raw Normal View History

2011-02-14 18:28:51 +00:00
AdoptAHydrant::Application.routes.draw do
2011-03-06 18:28:00 +00:00
devise_for :users, :controllers => {
:registrations => 'users',
:sessions => 'sessions'
}
resource :user
2011-03-06 20:16:10 +00:00
get 'sitemap(.format)' => 'sitemaps#index', :as => 'sitemap'
2011-03-06 18:28:00 +00:00
root :to => 'main#index'
2011-02-14 18:28:51 +00:00
end