Corrected version of 'link' helper that accepts arrays of links.