adopt-a-hydrant/config/routes.rb

12 lines
307 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 => {
2011-03-07 02:32:11 +00:00
:passwords => 'passwords',
2011-03-06 18:28:00 +00:00
:registrations => 'users',
2011-03-07 02:32:11 +00:00
:sessions => 'sessions',
2011-03-06 18:28:00 +00:00
}
resource :user
2011-03-07 08:56:32 +00:00
resource :hydrant
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