fix : sample code route needs handler

Sample route lacks handler, resulting in error.