Don't strip off trailing slashes from $resource URLs.