A California judge has ruled in favor of a Christian baker who refused to bake a wedding cake for a same-sex couple.

The judge denied a motion for a temporary restraining order filed on Wednesday against Cathy Miller, the owner of Tastries Bakery in Bakersfield, California.

According to a press release sent by The Freedom of Conscience Defense Fund, the order would have compelled "Miller to create wedding cakes for LGBT persons, even though doing so would violate her sincerely held religious beliefs."

The bakery received criticism last August when Miller said she refused to serve the couple because of her beliefs.

"Here at Tastries, we love everyone. My husband and I are Christians and we know that God created everyone and he created everyone equal," Miller said in August. "It's not that we don't like people of certain groups ... there is just certain things that violate my conscience."

The bakery posted a statement on its Facebook page: