Skip to content

Commit 6fc0af7

Browse files
authored
Merge pull request #2 from vladkucherov/patch-1
Removes wait for app boot for routes registration
2 parents e1bfbd5 + 94c8d03 commit 6fc0af7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/GridSortableServiceProvider.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,12 @@ public function boot(GridSortable $extension)
2323
);
2424
}
2525

26-
$this->app->booted(function () {
27-
GridSortable::routes(__DIR__.'/../routes/web.php');
28-
});
26+
GridSortable::routes(__DIR__.'/../routes/web.php');
2927

3028
Admin::booting(function () {
3129
Admin::headerJs('vendor/laravel-admin-ext/grid-sortable/jquery-ui.min.js');
3230
});
3331

3432
$extension->install();
3533
}
36-
}
34+
}

0 commit comments

Comments
 (0)