[MAJOR] Route ordering bug in layouts.controller.ts #45

Closed
opened 2026-01-29 18:52:00 +00:00 by jason.woltje · 0 comments
Owner

The @Get(":id") route catches /layouts/default before the @Get("default") route.

Need to reorder routes so more specific routes come first:

  • Move @Get("default") before @Get(":id")

File affected:

  • src/layouts/layouts.controller.ts
The `@Get(":id")` route catches `/layouts/default` before the `@Get("default")` route. Need to reorder routes so more specific routes come first: - Move `@Get("default")` before `@Get(":id")` File affected: - src/layouts/layouts.controller.ts
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#45