Talk about a bad teacher!

Naya Rivera showed a lot of leg on Tuesday, May 20 when the Glee star arrived at Alliance Collins High School in Huntington Park, California. The stunning brunette was on hand to celebrate student success with the Get Schooled foundation, and was joined by E! News correspondent Terrence J.

Naya acted as “celebrity principal” for the day, dropping in on classes, taking photos with students, and answering all of their burning classes. She and Terrence then addressed the school, talking about the importance of education and building college-ready skills.

Get Schooled, a national non-profit organization, sponsored the Spring College Challenge to inspire students across California to explore college options and complete critical steps to receiving financial aid. The program inspired 100 percent of Alliance Collins’ seniors to apply to and get accepted into college for the upcoming fall.

A native of California, Naya applauded their commitment to success. "I'm proud to have the chance to celebrate with the Alliance Collins community and the investment they have made in themselves and their futures."

We love that Naya used her fame for such a good cause — and we’re those high school boys loved her leg-baring outfit, as well!