Improving api/v1/posts/:slug route