Open d-subrahmanyam opened 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)); }
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)); }