diff options
Diffstat (limited to 'users/config/routes.rb')
-rw-r--r-- | users/config/routes.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/users/config/routes.rb b/users/config/routes.rb index cfc0407..1d144b4 100644 --- a/users/config/routes.rb +++ b/users/config/routes.rb @@ -1,10 +1,10 @@ Rails.application.routes.draw do - get "log_in" => "sessions#new", :as => "log_in" - get "log_out" => "sessions#destroy", :as => "log_out" + get "login" => "sessions#new", :as => "login" + get "logout" => "sessions#destroy", :as => "logout" resources :sessions, :only => [:new, :create, :update, :destroy] - get "sign_up" => "users#new", :as => "sign_up" - resources :users, :only => [:new, :create] + get "signup" => "users#new", :as => "signup" + resources :users end |