about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2022-01-15 14:08:29 -0500
committerBen Harris <ben@tilde.team>2022-01-15 14:08:29 -0500
commitc5b9fe77a8a0e1c2e6a051b700c5a5d4b98ff6fb (patch)
tree8848d77d25ff12b81b3269f370b99cc44c3fe1f7 /config
parent1d9a622303d7ef6c2f1db99d759554c268767cc4 (diff)
add randomizer
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 51f6574..2a7b6e1 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,10 +1,9 @@
 # frozen_string_literal: true
 
 Rails.application.routes.draw do
+  get 'randomize', to: 'pages#randomize'
   resources :machines
   resources :players
-  # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
 
-  # Defines the root path route ("/")
-  # root "articles#index"
+  root 'pages#index'
 end