Rota ile ilgili mi yanlış yapıyorum.
Route::get('/', 'App\Http\Controllers\Frontend\HomeController@index')->name('home.index');
Route::group(['middleware' => ['guest']], function() {
Route::get('/register','App\Http\Controllers\Front\Authenticate\RegisterController@Register')->name('register');
Route::post('/register','App\Http\Controllers\Front\Authenticate\RegisterController@Form')->name('register.form');
Route::get('/login','App\Http\Controllers\Front\Authenticate\LoginController@Login')->name('login');
Route::post('/login','App\Http\Controllers\Front\Authenticate\LoginController@Form')->name('login.form');
});
Route::group(['middleware' => ['auth:web']], function() {
Route::get('logout','App\Http\Controllers\Front\Authenticate\LogoutController@Logout')->name('logout');
Route::get('mycaacount','App\Http\Controllers\Front\AccountController@Account')->name('account');
});