2011-09-15 21:41:26 +00:00
|
|
|
AdoptAThing::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
|
|
|
}
|
2011-12-25 07:23:19 +00:00
|
|
|
|
2011-05-31 11:12:02 +00:00
|
|
|
get 'address' => 'addresses#show', :as => 'address'
|
|
|
|
get 'info_window' => 'info_window#index', :as => 'info_window'
|
2011-03-17 18:46:06 +00:00
|
|
|
get 'sitemap' => 'sitemaps#index', :as => 'sitemap'
|
2012-01-28 04:07:23 +00:00
|
|
|
get 'javascripts/main(.:format)' => 'javascripts#main', :as => 'javascript'
|
2011-12-25 07:23:19 +00:00
|
|
|
|
|
|
|
scope "sidebar", :controller => :sidebar do
|
|
|
|
get :search, :as => 'search'
|
|
|
|
get :combo_form, :as => 'combo_form'
|
|
|
|
get :edit_profile , :as => 'edit_profile'
|
|
|
|
end
|
|
|
|
|
2011-06-13 22:39:39 +00:00
|
|
|
resource :reminders
|
2011-09-15 21:41:26 +00:00
|
|
|
resource :things
|
2011-08-09 19:05:52 +00:00
|
|
|
mount RailsAdmin::Engine => '/admin', :as => 'rails_admin'
|
2011-03-06 18:28:00 +00:00
|
|
|
root :to => 'main#index'
|
2011-02-14 18:28:51 +00:00
|
|
|
end
|