Use the new getRestMethod() in the CrudController