medicine while breastfeeding

Is it safe while breastfeeding? Ive found a few online saying it is safe, however wanted to use this awesome resource of countless other moms who may have already found the answer to my question before.
It is a Muscle Relaxer, my wife is on them for muscle spasms, we're just curious if she can still give LO the breastmilk?