Dane Massey's strike ten minutes into the second half was enough to haul Bray Wanderers out of the relegation zone with a 1-0 over Shamrock Rovers at Tallaght Stadium.
The Seagulls were a different side to the one overrun at Dalymount Park last week and they put it up to Rovers from the off.
Michael O'Neill deemed the side that beat St. Patrick's Athletic last week worthy of another shot and made no changes while Gormley tinkered with his side after their 2-0 defeat at Bohemians by replacing John Flood and Stephen Brennan with Chris Shields and Jake Kelly.
While Rovers pressed early on with Shane Robinson testing Chris O'Connor with a low shot, Bray grew into the game and with captain Dave Mulcahy breaking up the midfield well they gained a foothold.
The excellent Massey's delivery from set pieces was causing problems and they survived two scares, first Mulcahy heading straight at Robert Duggan from a Massey free before Simon Madden was in the right place to clear Mulcahy's low shot from inside the box from the left back's corner.
They went in scoreless at half time and O'Neill was forced to replace goalkeeper Robert Duggan, who picked up a shoulder injury in a clash with Paul Byrne, with Barry Murphy.
Clearly unhappy with his sides efforts O'Neill withdrew Dessie Baker six minutes into the half with Tadgh Purcell coming into the play.
Both sides had chances to open the scoring just before that with league top scorer Gary Twigg bringing out the best in O'Connor with a stinging drive and Darragh Maguire brilliantly covering as Byrne wound up for a shot after some good play from Massey, Shields and Kelly.
But any added impetus was suddenly removed as Bray deservedly struck, again from a set piece.
This time it was Massey who profited when Derek Foran climbed brilliantly to head Paddy Kavanagh's corner across the face of goal and the left full poked the ball home.
They may have been deserving leaders but it almost didn't last long as Sean O'Connor headed Simon Madden's cross to Purcell but his shot was straight at O'Connor.
And the Seagulls survived once more when O'Connor's free kick flew just over after what looked a good tackle from Kavanagh on Stephen Rice.
The away side were comfortable thereafter as Massey and Foran were excellent in repelling the Hoops’ advances.
O'Neill threw on Stephen Bradley but he was unable to exert any influence as Gary Twigg blocked O'Connor's header in an incident indicative of their night.
Their five game unbeaten run comes to an end but the story of the night was Bray bouncing back in some style.
Shamrock Rovers: Duggan (Murphy 45); Madden, Maguire, Webb, Cahill; Robinson, Rice, Cameron, O'Connor; Baker (Purcell 51), Twigg.
Bray Wanderers: O'Connor; Webster, Foran, Deans, Massey; McCabe (Mulroy 83), Mulcahy, Shields, Kavanagh; Byrne (Forsyth 87), Kelly.
Ref: M Gough (Limerick)