- 取得連結
- X
- 以電子郵件傳送
- 其他應用程式
modify app/Providers/RouteServiceProvider.php
each route files will be merged at run time
//origin routes files
public function map(Router $router)
{
$router->group(['namespace' => $this->namespace], function ($router) {
require app_path('Http/routes.php');
});
}
// add some others routes files
public function map(Router $router)
{
$router->group(['namespace' => $this->namespace], function ($router) {
require app_path('Http/routes.php');
require app_path('Http/admin_routes.php');
require app_path('Http/events_routes.php');
});
}
each route files will be merged at run time
留言