Note that the controllers inherit Masonite base
Controllerclass. This is required for Masonite to pick up your controller class in routes.
get_response()method. This method needs to return any one of the above response types.
idparameter is in the route we can fetch the value of this parameter by specifying it in the controller method signature:
app/controllersand is defined in project
Kernel.pyfile by editing the default binding
Kernel.pyfile in the