Change the match return to route's resource.