Brisk routes exposes the API to configure the route handler by chaining one of the pre-defined methods.
For example: Instead of defining the redirect logic as a callback, one can chain the .redirect method.
.redirect
Brisk routes are always registered under the GET HTTP method.
GET
Creates a new BriskRoute instance
The AdonisJS application instance
Array of global middleware registered on the router
Configuration options for the brisk route
Render an edge template without defining an explicit route handler
Optional
Brisk routes exposes the API to configure the route handler by chaining one of the pre-defined methods.
For example: Instead of defining the redirect logic as a callback, one can chain the
.redirectmethod.Brisk routes are always registered under the
GETHTTP method.