wisdom-framework / wisdom

A modular and dynamic web framework
http://wisdom-framework.org
Apache License 2.0
88 stars 42 forks source link

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

Open d-subrahmanyam opened 7 years ago

d-subrahmanyam commented 7 years ago

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)); }