changes routes to slugs instead of ids