Former Pennsylvania Senator Rick Santorum and Louisiana Governor Bobby Jindal criticized the Supreme Court's ruling striking down gay marriage bans in all 50 states during Thursday's GOP debate.

Jindal and Santorum were among the seven Republican presidential candidates who participated in Fox News' “happy hour” debate which took place before the top ten contenders took the stage during prime time.

Moderator Bill Hemmer asked Santorum whether the court's ruling had settled the debate over same-sex marriage.

“It is not any more than Dred Scott was settled law to Abraham Lincoln, who in his first inaugural address said it won't stand and went ahead and passed laws in direct contravention to a rogue Supreme Court,” Santorum answered. “There was no constitutional basis for the Supreme Court's decision.”

Jindal said that as president he would “sign an executive order protecting religious liberty, our First Amendment rights, so Christian business owners and individuals don't face discrimination for having a traditional view of marriage.”

As governor, Jindal signed an order protecting opponents of marriage equality.

(Related: Bobby Jindal issues “religious freedom” order after bill House bill dies.)