summaryrefslogtreecommitdiff
path: root/users/config
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-10-11 17:41:00 +0200
committerAzul <azul@leap.se>2012-10-11 17:41:00 +0200
commit28b51dc38ad71b8a7468aa91d8ce8d3059d9bb69 (patch)
tree5b366d0593e95c5224031fc52a889fa351adf194 /users/config
parent0c79df9874c59fbaa5c845e07d8fa1b4bbc23b9c (diff)
current_user and authenticate methods
Diffstat (limited to 'users/config')
-rw-r--r--users/config/routes.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/users/config/routes.rb b/users/config/routes.rb
index cfc0407..522c40c 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"
+ get "signup" => "users#new", :as => "signup"
resources :users, :only => [:new, :create]
end