Skip to content

Commit becb420

Browse files
committed
update custom route
1 parent fd9f647 commit becb420

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Config.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ protected static function registerRoutes()
4040
{
4141
parent::routes(function ($router) {
4242
/* @var \Illuminate\Routing\Router $router */
43-
$router->resource('config', 'Encore\Admin\Config\ConfigController');
43+
$router->resource(
44+
config('admin.extensions.config.name', 'config'),
45+
config('admin.extensions.config.controller', 'Encore\Admin\Config\ConfigController')
46+
);
4447
});
4548
}
4649

0 commit comments

Comments
 (0)