2014-04-09 07:02:20 +00:00
|
|
|
Rails.application.routes.draw do
|
2014-03-25 09:47:44 +00:00
|
|
|
devise_for :users, controllers: {
|
2012-06-18 17:49:28 +00:00
|
|
|
passwords: 'passwords',
|
|
|
|
registrations: 'users',
|
|
|
|
sessions: 'sessions',
|
2011-03-06 18:28:00 +00:00
|
|
|
}
|
2011-12-25 07:23:19 +00:00
|
|
|
|
2012-06-18 17:49:28 +00:00
|
|
|
get '/address', to: 'addresses#show', as: 'address'
|
2014-03-25 09:47:44 +00:00
|
|
|
get '/info_window', to: 'info_window#index', as: 'info_window'
|
2012-06-18 17:49:28 +00:00
|
|
|
get '/sitemap', to: 'sitemaps#index', as: 'sitemap'
|
2011-12-25 07:23:19 +00:00
|
|
|
|
2012-06-18 17:49:28 +00:00
|
|
|
scope '/sidebar', controller: :sidebar do
|
|
|
|
get :search, as: 'search'
|
|
|
|
get :combo_form, as: 'combo_form'
|
2014-08-15 00:16:19 +00:00
|
|
|
get :edit_profile, as: 'edit_profile'
|
2011-12-25 07:23:19 +00:00
|
|
|
end
|
|
|
|
|
2011-06-13 22:39:39 +00:00
|
|
|
resource :reminders
|
2011-09-15 21:41:26 +00:00
|
|
|
resource :things
|
2014-03-25 09:47:44 +00:00
|
|
|
mount RailsAdmin::Engine => '/admin', :as => 'rails_admin'
|
2012-06-18 17:49:28 +00:00
|
|
|
root to: 'main#index'
|
2011-02-14 18:28:51 +00:00
|
|
|
end
|