diff options
Diffstat (limited to 'config')
-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 |