Soc/config/routes.rb

10 lines
236 B
Ruby

# frozen_string_literal: true
Rails.application.routes.draw do
root "sessions#new"
resources :users, only: [:new, :create, :show]
resources :sessions, only: [:new, :create]
delete "log_out", to: "sessions#destroy_session"
end