Created
January 14, 2020 10:18
-
-
Save whiz25/c01e0521412b03644180d8f0985ee90e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails.application.routes.draw do | |
resources :sessions, only: [:create] | |
resources :users | |
delete :logout, to: "sessions#logout" | |
get :logged_in, to: "sessions#logged_in" | |
root to: "static#home" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment