You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

9 lines
327 B

<?php
use Wms\Menu\Controllers\Index as MenuControllers;
Route::get(config('cms.backendUri') . '/wms/menu/{menu}', function($menu) {
$controller = App::make(MenuControllers::class);
\BackendMenu::setContext('Wms.Menu', 'main', "$menu|");
return $controller->run('index', ['menu' => $menu]);
})->middleware('web');