blob: 3a93d2af34a8c2cb69ed49ea48602b9557e27f55 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
Rails.application.routes.draw do
root to: 'puzzles#about'
get 'archive' => 'puzzles#index'
get ':id' => 'puzzles#show', as: 'puzzle'
post ':id/start' => 'puzzles#start', as: 'start_puzzle'
post ':id/solve' => 'puzzles#solve', as: 'solve_puzzle'
post ':id/submit' => 'puzzles#submit', as: 'submit_puzzle'
end
|