I am trying to prevent having to use the processRequest middleware on every single route manually if it contains a parameter for course_id. However, it seems like no matter what I try the req type will always be reset per route. Anyone run into something like this before? I attached some screenshots of what I am currently being forced to do.
I am trying to prevent having to use the
processRequest
middleware on every single route manually if it contains a parameter forcourse_id
. However, it seems like no matter what I try thereq
type will always be reset per route. Anyone run into something like this before? I attached some screenshots of what I am currently being forced to do.