From c5b9fe77a8a0e1c2e6a051b700c5a5d4b98ff6fb Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 15 Jan 2022 14:08:29 -0500 Subject: add randomizer --- config/routes.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'config') 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 -- cgit 1.4.1