FilmMagic / 1 / 8
FilmMagic / 1 / 8

Former "Glee" star Naya Rivera is splitting from her husband of two years.

According to TMZ, Naya filed for divorce last week. Her lawyer tells the website that she's asking for primary physical custody of their 1-year-old son, Josey, with visitation rights for her actor husband Ryan Dorsey.

Naya and Ryan tied the knot in 2014 in Cabo San Lucas, Mexico, seemingly out of nowhere after dating for just a few months. They had dated previously in their early 20s but split.

The surprise wedding came just a few months after she broke off an engagement to rapper Big Sean, who accused her of being too controlling.

"We feel truly blessed to be joined as husband and wife," the couple told People magazine of the nuptials. "Our special day was fated and everything we could have ever asked for... True love always prevails."

They welcomed their son on Sept. 17, 2015.

There had been few signs that their marriage was in trouble. In early November, she was spotted wearing her $100,000 wedding ring during dinner at Los Angeles hot spot Catch.

Naya previously gushed about Ryan. In her tell-all book, "Sorry Not Sorry," she revealed that she was actually pregnant with Ryan's baby in 2010, but had an abortion. She didn't discover she was pregnant until a few weeks after they had split.

"When I made that decision, I made it by myself, as I feel is the case for a lot of women, and I did not share it with Ryan at the time," she said on "The Real" afterward. "By the time we sort of reconnected, I was like, gosh, there's a reason why you keep coming back in my life and we keep coming back together. It was like, 'I have to tell you something.'"

"He said, 'In the short time that we dated, I wish that I could have done something to make you feel like you could have trusted me with that information because I would have loved to have been there with you,'" she recalled him saying. "I think it was the kindest, best thing that any man could have ever said in that situation. It just made me love him that much more."