Link here. Note, though, that this is merely a statute. It has to pass constitutional muster just like every other law. If Prop 8, which was an amendment to California's constitution, is in question, this wouldn't stand a chance.
It's a noble gesture, but make sure to note that fully 1/3 of California's legislature wasn't even willing to make what they knew to be an empty gesture to protect the right of free religious exercise. 1/3 of them want every religion that refuses to marry gays to be declared not a religion anymore.