diff --git a/src/GridSortableServiceProvider.php b/src/GridSortableServiceProvider.php index 507ebd0..fd7366f 100644 --- a/src/GridSortableServiceProvider.php +++ b/src/GridSortableServiceProvider.php @@ -23,9 +23,7 @@ public function boot(GridSortable $extension) ); } - $this->app->booted(function () { - GridSortable::routes(__DIR__.'/../routes/web.php'); - }); + GridSortable::routes(__DIR__.'/../routes/web.php'); Admin::booting(function () { Admin::headerJs('vendor/laravel-admin-ext/grid-sortable/jquery-ui.min.js'); @@ -33,4 +31,4 @@ public function boot(GridSortable $extension) $extension->install(); } -} \ No newline at end of file +}