Update resource.md

Fixed a broken defineResource Link