Making the route accept the proper params