index.html 404 page not found
Asked by
marc
I am facing a weird problem. Indeed I can't have the index.html to work. I have the Application controller in app.controllers and the index.html in app/views/
The application controller is with just:
public static void index() {
render();
}
and in the routes, I have:
GET / Application.index.
It is actually the default I get after I ran play run myApp.
If I add my own route, for example:
GET /subscribe.html UserController.
And I create this UserController with the method subscribe, it works. Is there a problem with the index in the 1.0-stable3 ?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- marc
- Solved:
- Last query:
- Last reply:
To post a message you must log in.