GASTONIA, N.C. -- The Gastonia Housing Authority has amended its rules to allow residents to attach and fly American flags to its buildings, officially ending a controversy that went locally viral.

Commissioners unanimously approved the change late Tuesday afternoon during a conference call.

Back in December, NBC Charlotte profiled two women who were ordered by Housing Authority managers to remove their American flags because objects weren't allowed to be attached to the buildings' exterior brick walls.

After receiving attention on social and local media, Housing Authority Executive Director Gary Foster allowed the women to temporarily put the flags back up until his attorneys did more research on the issue.

Three months later, Foster's decision was made permanent.

Linda Rhyne was one of the women who fought to fly the flag.

"I'm just glad we got it worked out," Rhyne said. "It's made me very happy."

Foster said he's happy they were able to come to a resolution.

"I think the residents acted in good faith," Foster said. "I think the process they used was fair."

The change takes effect immediately.