worked on the controllers
This commit is contained in:
@@ -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']
|
||||
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user