Frederik Andersen made sure the Anaheim Ducks wouldn’t go on any kind of a losing streak.

The rookie made 34 saves, and Ryan Getzlaf scored his 25th goal to lead the Ducks to a 3-2 win over the St. Louis Blues on Saturday night.

Anaheim, which had an eight-game winning streak snapped on Friday in Chicago, has won 19 of 21. The Ducks have won nine of their last 11 on the road, and they lead the NHL with 79 points. Anaheim is 20-0-2 at home.

Matt Beleskey and Cam Fowler also scored for the Ducks, who have a league-best 37 points on the road. Andersen (12-2) has won three straight.

Anaheim had its three-week winning run halted with a 4-2 loss on Friday. Instead of dwelling on the setback, the Ducks took control against the Blues and grabbed a 3-0 lead in the first 29:13 against St. Louis.

“If you lose, you just want to get back on the horse and win the next night,” Andersen said. “We just stayed poised and focused.”

Anaheim coach Bruce Boudreau was pleased with the way his club bounced back.

“It’s hard to win as many games in a row as we did and lose,” he said. “Then you’re coming back against (one) of the best percentage teams in the league. It would be pretty easy to say, ‘Hey, we had a good run. Let’s take this next one off.”’

But they didn’t.

“This is a prideful group,” Boudreau said.

Getzlaf got the turnaround started with a goal just 5:37 in. His tally, off a pass from Corey Perry, set the early tone.

“We were able to rebound and play our game,” Getzlaf said. “We showed that we needed to bounce back after a tough loss.”

Getzlaf, who added an assist, has 14 points in the last nine games.

Barret Jackman and Jaden Schwartz scored third-period goals for St. Louis, which lost back-to-back games in regulation for just the second time this season.

Anaheim scored three times on its first 11 shots against Brian Elliott, who had a franchise-record, 13-game home winning streak snapped.

Beleskey squeezed a shot through Elliott early in the second period. Elliott made the initial save, but the puck trickled through his legs into the net.

“I tried to squeeze it,” Elliott said. “It’s a goal you definitely want back.”

Fowler then tallied on the power play with a shot from the top of the circle to push the lead to 3-0 midway through the second period.