pushState routing problems

I have enabled pushState(:true), defined pushStateSeperator(:’#’) and when am trying to load my home page which is in another folder into my empty view(main-view) in index file, it shows 404 page instead. But when i move the home page from its file back into the index file on page init, it loads the page correctly.

Also when i disable pushState, it is able to load the home page(in another folder) into the empty view(main-view) correctly or better still when i precede the index route path with my pushStateSeperator(:’#’), it also works fine.

Tried tweaking and reviewing some of the articles here but don’t seem to find a working solution.