The following code made my blog route work (working code on the right, this is a diff of what I changed):