Fix view routing in client