diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-29 11:32:06 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-29 11:32:06 -0400 |
commit | 10599ab2e789ffb93a19f6aa3c100f533c460315 (patch) | |
tree | f49edb1c44fe698e023a73ee82c1584b328cb5de /config/routes.rb | |
parent | 141f8b1a7e42928e94cccd0c8f89fdd56f8e2efe (diff) | |
download | wittle-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.rb | 6 |
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 @@ | |||
1 | Wittle::Engine.routes.draw do | 1 | Wittle::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' | ||
3 | end | 7 | end |