Soc/config/routes.rb

13 lines
360 B
Ruby
Raw Normal View History

# frozen_string_literal: true
Rails.application.routes.draw do
2023-08-19 14:38:38 +00:00
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"
2023-08-19 14:38:38 +00:00
get "confirm_email", to: "email_confirmations#confirm"
end