Used route resouce method.