Answers for "class 'app http controllers not found laravel"

PHP
0

Class 'App\Http\Controllers\View' not found

use Illuminate\Support\Facades\View;

return \View::make('tickets.bus.index');
Posted by: Guest on October-22-2020
0

Class 'App\Http\Controllers\Response' not found

use Response;
Or use full namespace:

return \Response::json(...);
Or just use helper:

return response()->json(...);
Posted by: Guest on June-08-2020

Code answers related to "class 'app http controllers not found laravel"

Browse Popular Code Answers by Language