Trying to get authlogic running

This commit is contained in:
Christoph Haas 2015-07-13 18:42:36 +02:00
parent 06f09c0486
commit 737ff62cfc
23 changed files with 306 additions and 4 deletions

View file

@ -21,6 +21,18 @@ 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".