Implement 'pass' function to skip to next matching route