Whenever any public highway located along the corporate line of any city is an extension of a farm-to-market road, or of a primary road, it may be included in the farm-to-market road system or the primary road system, as the case may be, and may be constructed, reconstructed, improved, repaired, and maintained as a part of said road system.
Iowa Code § 314.6