This might not work on all breaks. Hydraulic disc breaks might not work at all and my cabled ones also do not have room at the end — but for my rear break at least a part of the cable is exposed below the frame, leaving a meager 2 mm of distance between frame and cable to attach it.