about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-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