Update hg.php

Allowed closures to be interpreted by matched routes