Skip to content

The Route annotation does not support multiple route mappings to the same action method #569

@d-subrahmanyam

Description

@d-subrahmanyam

The Route annotation does not support multiple route mappings to the same action method.

Like in the below code snippet, I was trying to associate both the root and index.html to the same action method.

@Route(method = HttpMethod.GET, uri = {"/","/index.html"}) public Result blog() { return ok(render(blog)); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions