Skip to content
This repository was archived by the owner on Nov 23, 2020. It is now read-only.

Commit 2cbce1f

Browse files
authored
Update custom.php
1 parent e6e8ece commit 2cbce1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes/backpack/custom.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Route::group([
1010
'prefix' => config('backpack.base.route_prefix', 'admin'),
11-
'middleware' => [backpack_middleware()],
11+
'middleware' => [config('backpack.base.middleware_key', 'admin')],
1212
'namespace' => 'App\Http\Controllers\Admin',
1313
], function () { // custom admin routes
1414
}); // this should be the absolute last line of this file

0 commit comments

Comments
 (0)