Skip to content

Commit 9f347b3

Browse files
committed
Revert back to currentRouteName()
As noted in the commit 5354361 There was a bug in Laravel 4.1, they added back the method to the Router class laravel/framework@45ff483
1 parent 3773a10 commit 9f347b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Intouch/LaravelNewrelic/LaravelNewrelicServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function ( $request, $response ) use ( $app )
8383
/** @var \Intouch\Newrelic\Newrelic $newrelic */
8484
$newrelic = $app['newrelic'];
8585

86-
$newrelic->nameTransaction( $router->current() );
86+
$newrelic->nameTransaction( $router->currentRouteName() );
8787
}
8888
}
8989
);

0 commit comments

Comments
 (0)