Removed "authlogic" completely. Let's try "devise".
This commit is contained in:
parent
4b4cbf4b88
commit
e6a0f15340
26 changed files with 10 additions and 260 deletions
|
|
@ -21,18 +21,6 @@ Debshots::Application.routes.draw do
|
|||
get 'about' => 'welcome#about'
|
||||
get 'thumbnail/:name' => 'packages#thumbnail', as: :thumbnail_image, name: /[^\/]+/
|
||||
|
||||
# Authentication
|
||||
resources :user_sessions
|
||||
|
||||
get 'login' => "user_sessions#new", :as => :login
|
||||
get 'logout' => "user_sessions#destroy", :as => :logout
|
||||
|
||||
resources :users # give us our some normal resource routes for users
|
||||
resource :user, :as => 'account' # a convenience route
|
||||
|
||||
#match 'signup' => 'users#new', :as => :signup
|
||||
|
||||
|
||||
# The priority is based upon order of creation: first created -> highest priority.
|
||||
# See how all your routes lay out with "rake routes".
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue