When a city or borough intervenes between two ends of a county road, and the municipal corporation has failed to properly improve the municipal streets constituting the shortest and most reasonable route through the municipal corporation that will connect the two ends of such county road, the board of commissioners may contract with the governing body of the municipal corporation to improve the shortest and most reasonable route connecting the two ends of such highway .
16 P.S. § 2756