Fixed routing. Code in book was wrong.