Add basic team routes

master
Garrett Mills 4 years ago
parent 2d2f335b9c
commit 127a738e85
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

@ -51,6 +51,10 @@ const index = {
// Placeholder for auth dashboard. You'd replace this with
// your own route protected by 'middleware::auth:UserOnly'
'/dash': [ 'controller::Home.welcome' ],
'/api/list-all-teams': [
'controller::Teams.list_all_teams'
],
},
/*
@ -61,7 +65,9 @@ const index = {
* or middleware that are applied in order.
*/
post: {
'/api/create-team': [
'controller::Teams.create_team'
],
},
// You can include other HTTP verbs here.

Loading…
Cancel
Save