1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Fixed the mat#show route by defining the correct vars in the controller and added a route for assign_next_match on mat

This commit is contained in:
2023-01-09 19:16:36 -05:00
parent ffb7d8be5b
commit 6b57246080
5 changed files with 49 additions and 236 deletions

View File

@@ -1,5 +1,6 @@
Wrestling::Application.routes.draw do
resources :mats
post "mats/:id/assign_next_match" => "mats#assign_next_match"
resources :matches