Update ResourceViewHelper.php