@foreac laravel
public function __construct()
{
$this->middleware('auth');
}
/**
* Show the application dashboard.
*
* @return IlluminateContractsSupportRenderable
*/
public function index()
{
return view('home');
}
@foreac laravel
public function __construct()
{
$this->middleware('auth');
}
/**
* Show the application dashboard.
*
* @return IlluminateContractsSupportRenderable
*/
public function index()
{
return view('home');
}
laravel controller not updating method
Check that you are not having two or more classes with the same name in any of your controllers
@foreac laravel
Route::get('/', 'PageController@index');
Route::get('/welcome','PageController@Welcome');
Route::get('/services', 'PageController@services');
Route::get('/register', 'PageController@register');
Route::get('/Create', 'PageController@Create');
Route::get('/search', 'PageController@search');
Route::get('/payment', 'PageController@Payment');
Route::resource('posts', 'PostsController');
Route::resource('search', 'SearchController');
Route::resource('reviews', 'ReviewsController');
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us