about summary refs log tree commit diff stats
path: root/config/routes.rb
diff options
context:
space:
mode:
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