Rails.application.routes.draw do resources :books root 'books#index' get 'auth/slooob/callback', to: 'session#create' get 'auth/failure', to: 'sessions#failure' get 'signout', to: 'sessions#destroy', as: 'signout' end