change /post/{$slug} route to /posts/{$slug}