Fixing typo on linkTo usage
Need to use @Inject to inject EntityManager