Scrubs stars Zach Braff and Donald Faison have pledged to cater for gay weddings after one American restaurant said it would not.

Zach Braff and Donald Faison are swapping their scrubs for tomato sauce - and all in the name of same-sex marriage.

The stars of the American sitcom, and real-life BFFs, have pledged to make pizzas for gay weddings in the American state of Indiana, after one restaurant announced they would refuse to cater for same-sex couples in the name of a new law.

Memories Pizza in Walkerton was the first local business to speak out against gay marriage after the state's controversial new Religious Freedom Restoration Act, which allows business owners to cite religious beliefs in defence when sued by a private party.

"That lifestyle is something they choose. I choose to be heterosexual," pizzeria owner Kevin O'Conner said. He admitted he would serve a gay customer in-store, but wouldn't cater for a gay wedding.

"They choose to be homosexual. Why should I be beat over the head to go along with something they choose?"

However Braff and Faison quickly volunteered up their dough-kneading skills on Twitter.

Braff's post has so far been retweeted more than 7000 times, but it is not known if any to-be-married couples have taken them up on their offer.

The pair weren't the only famous faces to speak out against the discriminatory law - Cyndi Lauper, Hillary Clinton and Star Trek actor George Takei all tweeted their support for the LGBT community.

The pizzeria owners at the centre of the furore have since claimed to suffer threats and harassment due to their comments, and were forced to temporarily close the establishment.

Head to our Facebook page for more from Stuff Life & Style