Fix routes[method] when route wasn't defined