diff options
author | Azul <azul@riseup.net> | 2012-09-27 22:39:08 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2012-09-27 22:39:08 +0200 |
commit | ebbfe3d77efddbe8f97fa82c171632ac4cfcf6da (patch) | |
tree | b81b55476f4f7889af0e346ebf5dc95afc4a02af /users/config/routes.rb | |
parent | 1208257bcc0e2a6648b68433a7b7e24791f92583 (diff) |
added in leap web users - one repo to rule them all
Diffstat (limited to 'users/config/routes.rb')
-rw-r--r-- | users/config/routes.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/users/config/routes.rb b/users/config/routes.rb new file mode 100644 index 0000000..cfc0407 --- /dev/null +++ b/users/config/routes.rb @@ -0,0 +1,10 @@ +Rails.application.routes.draw do + + get "log_in" => "sessions#new", :as => "log_in" + get "log_out" => "sessions#destroy", :as => "log_out" + resources :sessions, :only => [:new, :create, :update, :destroy] + + get "sign_up" => "users#new", :as => "sign_up" + resources :users, :only => [:new, :create] + +end |