adopt-a-hydrant/config/routes.rb

11 lines
287 B
Ruby

AdoptAHydrant::Application.routes.draw do
devise_for :users, :controllers => {
:passwords => 'passwords',
:registrations => 'users',
:sessions => 'sessions',
}
resource :user
get 'sitemap(.format)' => 'sitemaps#index', :as => 'sitemap'
root :to => 'main#index'
end