From 03f44c53e35fc1643a39a1e31141ead8c275a3a0 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 29 Oct 2023 21:04:43 -0400 Subject: disable sending a time if you refresh the page --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 8cae7ec..346315e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -2,6 +2,7 @@ Wittle::Engine.routes.draw do root to: 'puzzles#about' get 'archive' => 'puzzles#index' get ':id' => 'puzzles#show', as: 'puzzle' + post ':id/start' => 'puzzles#start', as: 'start_puzzle' post ':id/solve' => 'puzzles#solve', as: 'solve_puzzle' post ':id/submit' => 'puzzles#submit', as: 'submit_puzzle' end -- cgit 1.4.1