Skip to content

dynamic routing: route prefix doesn't work as expected #426

@jknack

Description

@jknack

Route prefix doesn't work after route creation, or in mvc routes or while importing an existing app

Foo {
  get("/route", req-> req.route().name())
     .name("foo")
}
{
  use(new Foo("bar"));
}

A call to /route must display /bar/foo not /foo

dynamic route documentation is available here: http://jooby.org/doc/#routes-dynamic-advanced-routing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions