worked on the controllers

This commit is contained in:
2020-02-08 05:06:18 -06:00
parent cad2d1971b
commit 7f832c0d92
3 changed files with 38 additions and 2 deletions

View File

@@ -36,10 +36,11 @@ const index = {
* or middleware that are applied in order.
*/
get: {
'/hello_world': [ 'controller::api:v1:Misc.hello_world' ],
'/hello_world': ['controller::api:v1:Misc.hello_world'],
},
post: {
'/page/save': ['middleware::auth:UserOnly', 'controller::api:v1:Misc.save_page']
},
}