# frozen_string_literal: true Rails.application.routes.draw do default_url_options host: "summonplayer.com" root "tables#index" get "login" => "sessions#new", as: :login delete "logout" => "sessions#destroy", as: :logout resources :users, only: [ :new, :create ] resources :account_verifications, only: [ :show ] resources :sessions, only: [ :new, :create, :destroy ] resources :table_invites, only: [ :edit, :update ] resources :tables do resources :table_invites, only: [ :new, :create ] end resources :admin, only: [ :index ] namespace :admin do resources :game_systems end get "up" => "rails/health#show", as: :rails_health_check end