route /posts/edit/ to /posts/add/