Get path-for to work when there are method and other guards in the route definition