Fix Asset route lookup in templates. fixes #27 and #28.