missing space  ```function(Resource $resource) {```