Question: Massachusetts gay marriage characterization by Cheney

In the VP debate, Cheney said that "in Massachusetts we had the
Massachusetts Supreme Court direct the state of -- the legislature of Massachusetts to modify their constitution to allow gay marriage." Didn't the MA Supreme Court say that the state constitution already allowed gay marriage? Can you point to an authoritative opinion suitable
for non-lawyers?