Pro12: Leinster 30-23 Edinburgh
|Leinster 30 (6)|
|Tries: L McGrath, van der Flier, McFadden 2 Cons: Madigan 2 Pens: Madigan 2|
|Edinburgh 23 (3)|
|Tries: Brown, Allen, Kennedy Con: Tovey Pens: Tovey, Hidalgo-Clyne|
Pro12 leaders Leinster had to battle before clinching a bonus-point win over a brave Edinburgh side at the RDS.
After being 6-3 up at half-time, a Luke McGrath try extended Leinster's lead only for Tom Brown to quickly reply.
Josh van der Flier was gifted a try by Sean Kennedy before a Fergus McFadden score extended Leinster's lead to 25-8.
Ian Madigan's mistake allowed Mike Allen to reply but after McFadden scored his second try, Kennedy's score left Leinster hanging on.
Edinburgh lost centres Chris Dean and Phil Burleigh to injuries at half-time and, despite having to play several players out of position in the second period, fought back impressively to earn a losing bonus point.
Indeed, the visitors went in search of a converted try in the closing stages and Leinster wing McFadden looked fortunate to avoid at least a yellow card for a high tackle on Edinburgh's Damien Hoyland.
Leinster unsuccessfully attempted to bludgeon their way through a dogged Edinburgh defence in the first half and only had two Madigan penalties to show for their efforts, with Tovey scoring at the other end.
A brilliant Luke Fitzgerald break set up McGrath's 43rd-minute score but Tovey's superb looping pass set up Brown to reply in the corner within two minutes.
However, Tovey's missed touch from a penalty on the Leinster 10-metre line and Kennedy's woeful pass gifted Leinster a try almost immediately as Van der Flier ran in unopposed.
McFadden finished off a period of Leinster pressure to extend the lead to 25-8 in the 58th minute but Madigan then gift-wrapped a try to Edinburgh as former Ulster wing Allen read the Ireland fly-half's inside pass.
A second McFadden try on 63 left Leinster 30-15 ahead but Edinburgh dominated thereafter with Kennedy scoring on 70 before Sam Hidalgo-Clyne's penalty left only seven points between the teams with five minutes left.
Leinster's win moves them five points clear of Connacht in the table while Edinburgh edge above Munster into the sixth spot, which would be enough to secure a European Champions Cup place.
Leinster: R Kearney; F McFadden, B Te'o, N Reid, L Fitzgerald; I Madigan, L McGrath; C Healy, R Strauss, M Ross; R Molony, M Kearney; R Ruddock, J van der Flier, J Murphy
Replacements: S Cronin for Strauss 52, P Dooley for Healy 52, Healy for Dooley 75, T Furlong for Ross 52, D Toner for Molony 65, D Ryan for Ruddock 51, E Reddan for McGrath 65, C Marsh for Madigan 65, D Kearney for Fitzgerald 75
Edinburgh: B Kinghorn; D Hoyland, C Dean, P Burleigh, T Brown; J Tovey, S Hidalgo-Clyne; A Dickinson, R Ford (capt), WP Nel; A Bresler, B Toolis; J Ritchie, J Hardie, C Du Preez
Replacements: S McInally for Ford 54, R Sutherland for Dickinson 65, J Andress for Nel 65, A Toolis for Bresler 52, M Bradbury for Kingholm 74, H Watson for Hardie 58, S Kennedy for Burleigh 41, M Allen for Dean 41