redirect '/' and '/resources' to '/#/resources'.