How to determine the controller in the routes which is located in the Static folder?
I try like this, but he does not find the folder:
Route::get('/', 'stet/Site__Controller@index'); How to determine the controller in the routes which is located in the Static folder?
I try like this, but he does not find the folder:
Route::get('/', 'stet/Site__Controller@index'); If the controller has a namespace, then you write with itRoute::get('/', 'namespace\Controller@method'); ,
if not, it doesn't matter what folder it is in -Route::get('/', 'Controller@method'); ,
Route::get('/', 'App\Http\Controllers\Site__Controller@index'); - apelsinka223Source: https://ru.stackoverflow.com/questions/513233/
All Articles