Fixed routing for getResource with no projectId