0
ルートグループ内の異なる名前空間を持つコントローラーを使用できますか?ルートグループ内の異なる名前空間を持つコントローラーを使用できますか?
Route::group(['prefix' => 'dashboard', 'namespace' => 'admin'], function() {
Route::get('/', ['namespace'=>'Controllers','uses'=>'[email protected]']);
Route::get('posts', '[email protected]');
});
「使用」=>「\\ NameSpace \\ Controller @ function」はあなたのために働くはずです。 –