|
@@ -1,17 +1,19 @@ |
|
|
Rails.application.routes.draw do |
|
|
Rails.application.routes.draw do |
|
|
root 'tools#index' |
|
|
root 'tools#index' |
|
|
|
|
|
|
|
|
get '/signup' => 'users#signup' |
|
|
|
|
|
post '/signup' => 'users#signup' |
|
|
|
|
|
get '/login' => 'users#login' |
|
|
|
|
|
post '/login' => 'users#login' |
|
|
|
|
|
get '/logout' => 'users#logout' |
|
|
|
|
|
post '/logout' => 'users#logout' |
|
|
|
|
|
get '/reset' => 'users#reset' |
|
|
|
|
|
post '/reset' => 'users#reset' |
|
|
|
|
|
|
|
|
get '/signup' => 'users#signup' |
|
|
|
|
|
post '/signup' => 'users#signup' |
|
|
|
|
|
get '/login' => 'users#login' |
|
|
|
|
|
post '/login' => 'users#login' |
|
|
|
|
|
get '/logout' => 'users#logout' |
|
|
|
|
|
post '/logout' => 'users#logout' |
|
|
|
|
|
get '/reset' => 'users#reset' |
|
|
|
|
|
post '/reset' => 'users#reset' |
|
|
|
|
|
get '/settings' => 'users#settings' |
|
|
|
|
|
post '/settings' => 'users#settings' |
|
|
|
|
|
|
|
|
get '/admin' => 'admin#index' |
|
|
|
|
|
post '/admin' => 'admin#update' |
|
|
|
|
|
|
|
|
get '/admin' => 'admin#index' |
|
|
|
|
|
post '/admin' => 'admin#update' |
|
|
|
|
|
|
|
|
# routes for each tool go here, e.g.: |
|
|
# routes for each tool go here, e.g.: |
|
|
# get 'tools#campaigns' |
|
|
# get 'tools#campaigns' |
|
|