docs($resource): remove extra "to" from $resource docs

Closes #4287