Fixed issue#10 for getting default routes for the index page

Tested this change on couple of new projects locally. Appreciate any feedback.
First pull request on GitHub. I am humbled & thankful for this opportunity to learn.