Fix the no route for new problem. The new function in the post controller has been updated.