Skip to content

Commit 5264eec

Browse files
authored
Merge pull request #4 from laravel/fix/route-cache
[0.x] Fixes `route:cache` command
2 parents c15301d + 22d1ce7 commit 5264eec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PulseServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ public function boot()
105105
*/
106106
protected function registerRoutes()
107107
{
108-
Route::get(config('pulse.path'), function () {
109-
$this->app->make(Pulse::class)->doNotReportUsage = true;
108+
Route::get(config('pulse.path'), function (Pulse $pulse) {
109+
$pulse->doNotReportUsage = true;
110110

111111
return view('pulse::dashboard');
112112
})->middleware(config('pulse.middleware'));

0 commit comments

Comments
 (0)