Rotherham moved into fifth place with a victory over Fleetwood which all but end the Cod Army's play-off hopes.
Daniel Nardiello put the hosts ahead after just three minutes when a clearance from keeper Scott Davies fell to the forward to tuck away.
However the visitors pulled level when Junior Brown's scuffed effort was turned in by David Ball.
But Rotherham pressed and retook the lead when Kieran Agard fired home after Ben Pringle's shot was blocked.
The Millers' victory means they will be guaranteed a play-off berth if they get at least a point on Tuesday at Bradford.
However Fleetwood's hopes of securing a third successive promotion appear to be fading fast, as they are now five points off the play-off places with two games to go.