Routable, controllers act as plugins when called. This pseudo-plugin will wire all your routes for you.
allowNull. See, request parameters are mapped to function parameters on each handler. If a parameter is
null, an error will be thrown. To prevent this, you can pass its name to
as. This allows you to specify a custom name for a controller class or action.
ResponseContextcontains a method,
redirectToActionthat can redirect to a controller action.
as, then controllers and actions will be available by their names in code. Reflection is cool, huh?
ResponseContextas a parameter, and it will be passed to the function.