Stay on posts.index route when no posts exist

No Issue
Merge pull request #3104 from jaswilli/route-undefined

Stay on posts.index route when no posts exist