Move code from routes to HomeController.
Placed '{}' route before '/' route to make redirection work.

Otherwise, a 'Controller method not found.' exception would be thrown.