about summary refs log tree commit diff stats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-29 21:04:43 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-29 21:04:43 -0400
commit03f44c53e35fc1643a39a1e31141ead8c275a3a0 (patch)
tree74e9e1e5086c9739a13500793378012838b8a3dd /config/routes.rb
parent862cb4e3f9b9864bc1b5a20cd7ebd7c4d6cccb77 (diff)
downloadwittle-03f44c53e35fc1643a39a1e31141ead8c275a3a0.tar.gz
wittle-03f44c53e35fc1643a39a1e31141ead8c275a3a0.tar.bz2
wittle-03f44c53e35fc1643a39a1e31141ead8c275a3a0.zip
disable sending a time if you refresh the page
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
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
2 root to: 'puzzles#about' 2 root to: 'puzzles#about'
3 get 'archive' => 'puzzles#index' 3 get 'archive' => 'puzzles#index'
4 get ':id' => 'puzzles#show', as: 'puzzle' 4 get ':id' => 'puzzles#show', as: 'puzzle'
5 post ':id/start' => 'puzzles#start', as: 'start_puzzle'
5 post ':id/solve' => 'puzzles#solve', as: 'solve_puzzle' 6 post ':id/solve' => 'puzzles#solve', as: 'solve_puzzle'
6 post ':id/submit' => 'puzzles#submit', as: 'submit_puzzle' 7 post ':id/submit' => 'puzzles#submit', as: 'submit_puzzle'
7end 8end