routes didnt need the resources. now a param is missing error is found. working on it