Add ability to edit team name & starting lineup & save to server

This commit is contained in:
2020-11-05 20:57:08 -06:00
parent 47f3c0e6b0
commit fc5b90a938
7 changed files with 180 additions and 12 deletions

View File

@@ -60,7 +60,8 @@ const index = {
* or middleware that are applied in order.
*/
post: {
'/my-team': ['controller::Teams.save_my_team'],
'/my-team/lineup': ['controller::Teams.save_my_team_lineup'],
},
// You can include other HTTP verbs here.