Soc/config/routes.rb

14 lines
388 B
Ruby
Raw Normal View History

# frozen_string_literal: true
Rails.application.routes.draw do
default_url_options :host => "tsvallender.co.uk"
2023-08-19 14:38:38 +00:00
2023-08-20 11:49:21 +00:00
root "home_pages#index"
2023-08-20 11:49:21 +00:00
# Users and sessions
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