Updated routes to use slugs instead of ids