|
|
@ -88,7 +88,7 @@ export class RouteGroup extends AppClass {
|
|
|
|
|
|
|
|
|
|
|
|
/** Register the given middleware to be applied before all routes in this group. */
|
|
|
|
/** Register the given middleware to be applied before all routes in this group. */
|
|
|
|
pre(middleware: Instantiable<Middleware>): this {
|
|
|
|
pre(middleware: Instantiable<Middleware>): this {
|
|
|
|
this.preflight.push(middleware)
|
|
|
|
this.preflight.prepend(middleware)
|
|
|
|
return this
|
|
|
|
return this
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|