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 11:32:06 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-29 11:32:06 -0400
commit10599ab2e789ffb93a19f6aa3c100f533c460315 (patch)
treef49edb1c44fe698e023a73ee82c1584b328cb5de /config/routes.rb
parent141f8b1a7e42928e94cccd0c8f89fdd56f8e2efe (diff)
downloadwittle-10599ab2e789ffb93a19f6aa3c100f533c460315.tar.gz
wittle-10599ab2e789ffb93a19f6aa3c100f533c460315.tar.bz2
wittle-10599ab2e789ffb93a19f6aa3c100f533c460315.zip
generate, show, solve puzzles
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 6cf2832..8cae7ec 100644 --- a/config/routes.rb +++ b/config/routes.rb
@@ -1,3 +1,7 @@
1Wittle::Engine.routes.draw do 1Wittle::Engine.routes.draw do
2 get 'puzzles/index' 2 root to: 'puzzles#about'
3 get 'archive' => 'puzzles#index'
4 get ':id' => 'puzzles#show', as: 'puzzle'
5 post ':id/solve' => 'puzzles#solve', as: 'solve_puzzle'
6 post ':id/submit' => 'puzzles#submit', as: 'submit_puzzle'
3end 7end