Rails.application.routes.draw do # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html # Defines the root path route ("/") # root "articles#index" post '/auth/login', to: 'auth/login#post' post '/auth/register', to: 'auth/register#post' end