fulfill(); return redirect('/home'); })->middleware(['auth', 'signed'])->name('verification.verify'); //Company Route::get('/company/create', App\Http\Controllers\Company\CreateCompanyFormController::class)->name('company.form.create'); Route::post('/company/create', CreateCompanyController::class)->name('company.create'); Route::get('/company/confirmer', function () { return view(view: 'company.post_confirmer'); }); Route::middleware(['auth'])->group(function () { Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home'); Route::get('/clients/table', [App\Http\Controllers\ClientsTableController::class, 'index'])->name('clients.table'); Route::get('/contract/{contract}', [App\Http\Controllers\Deal\ContractController::class, 'index'])->name('contract'); Route::get('/company/details/', [App\Http\Controllers\Company\DetailsController::class, 'index'])->name('company.details'); Route::post('/company/{company}/details/', [App\Http\Controllers\Company\DetailsController::class, 'store'])->name('company.details.store'); Route::get('/agents/table', [App\Http\Controllers\Company\AgentsTableController::class, 'index'])->name('company.agents.table'); Route::post('/company/agents/store/', App\Http\Controllers\Company\CreateAgentController::class)->name('company.agents.store'); Route::get('/company/agents/{agent}/delete', App\Http\Controllers\Company\DeleteAgentController::class)->name('company.agents.delete'); Route::get('/company/agents/{agent}/restore', App\Http\Controllers\Company\RestoreAgentController::class)->name('company.agents.restore'); }); //МАКЕТЫ Route::get('projects', function () { return view(view: 'makets.projects'); }); Route::get('news', function () { return view(view: 'makets.news'); }); Route::get('profile', function () { return view(view: 'user.profile'); });