Soc/config/routes.rb

13 lines
360 B
Ruby

# frozen_string_literal: true
Rails.application.routes.draw do
default_url_options :host => "summonplayer.com"
root "sessions#new"
resources :users, only: [:new, :create, :show, :edit, :update]
resources :sessions, only: [:new, :create]
delete "log_out", to: "sessions#destroy_session"
get "confirm_email", to: "email_confirmations#confirm"
end