Repair vs rerouting
Quick answer
Spot repair is usually best for one isolated leak in healthy pipe. Rerouting is usually better when the same line has leaked more than once or pipes are corroded. Epoxy lining can suit limited-access layouts.
Spot repair
Cuts a small opening at the leak and replaces the damaged section. Lower upfront cost, but other weak spots can fail later.
Rerouting
Runs a new line through walls or attic and abandons the slab line. Higher upfront cost, fewer future slab openings.
Epoxy lining
Coats the inside of existing pipe. It suits some layouts but not every pipe condition.
How to decide
Consider leak history, pipe age and flooring. See slab leak repair and rerouting.