📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-03 04:06:56
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
routes
📍 /home/orkouolp/web/testing.orkobd/laravel/routes
🔄 Refresh
✏️
Editing: web.php
Writable
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\ProfileController; use App\Http\Controllers\Frontend\HomeController; use App\Http\Controllers\Wbee\WbeeHomeController; use App\Http\Controllers\Frontend\LocationController; use App\Http\Controllers\Frontend\CompanyProfileController; use App\Http\Controllers\Frontend\CandidateProfileController; use App\Http\Controllers\Frontend\CompanyDashboardController; use App\Http\Controllers\Frontend\CandidateDashboardController; use App\Http\Controllers\Frontend\CandidateEducationController; //---------------------------------------------------------------------------------// use App\Http\Controllers\Frontend\CandidateExperienceController; use App\Http\Controllers\Frontend\FrontendCompanyPageController; use App\Http\Controllers\Frontend\FrontendCandidatePageController; use App\Http\Controllers\Winbee\WbeeHomeController as Wbee2HomeController; //---------------------------------------------------------------------------------// // Route::get('/', function () { return view('welcome'); }); // Route::get('/test', function () { return view('welcome'); }); // Route::get('/wbee', function () { return view('welcome'); }); // Route::get('/wbee1', function () { return response('Hello!'); }); Route::get('/', [HomeController::class, 'index']); //---------------------------------------------------------------------------------// Route::get('/wbee1', [WbeeHomeController::class, 'index'])->name('wbee.home'); Route::get('/wbee1/offer', [WbeeHomeController::class, 'offer'])->name('wbee.offer'); //---------------------------------------------------------------------------------// Route::get('/wbee2', [Wbee2HomeController::class, 'index'])->name('wbee2.home'); Route::get('/wbee2/offer', [Wbee2HomeController::class, 'offer'])->name('wbee2.offer'); //---------------------------------------------------------------------------------// /** Dashboard Route */ // Route::get('admin/dashboard', function() { // return view('admin.dashboard.index'); })->name('dashboard'); Route::get('/dashboard', function () { return view('dashboard'); } )->middleware(['auth', 'verified'])->name('dashboard'); /** Candidate Routes */ Route::group(['middleware'=>['auth','verified'], 'prefix'=>'candidate', 'as'=>'candidate.'], function() { Route::get('dashboard', [CandidateDashboardController::class, 'index'])->name('dashboard'); Route::get('profile', [CandidateProfileController::class, 'index'])->name('profile.index'); Route::post('profile/basic-info-update', [CandidateProfileController::class, 'basicInfoUpdate'])->name('profile.basic-info.update'); Route::post('profile/profile-info-update', [CandidateProfileController::class, 'profileInfoUpdate'])->name('profile.profile-info.update'); Route::post('profile/account-info-update', [CandidateProfileController::class, 'accountInfoUpdate'])->name('profile.account-info.update'); Route::post('profile/account-email-update', [CandidateProfileController::class, 'accountEmailUpdate'])->name('profile.account-email.update'); Route::post('profile/account-password-update', [CandidateProfileController::class, 'accountPasswordUpdate'])->name('profile.account-password.update'); /** Experience Route */ Route::resource('experience', CandidateExperienceController::class); /** Education Route */ Route::resource('education', CandidateEducationController::class); }); // Route::get('candidate/profile', function(){ return response('Hello'); })->name('candidate.profile.index'); // Route::get('candidate/profile', function(){ return view('frontend.candidate-dashboard.dashboard'); })->name('candidate.profile.index'); // Route::get('candidate/profile', function(){ return view('frontend.candidate-dashboard.profile.index'); })->name('candidate.profile.index'); Route::get('get-states/{company_id}', [LocationController::class, 'getStates'])->name('get-states'); Route::get('get-cities/{state_id}', [LocationController::class, 'getCities'])->name('get-cities'); /** Company Routes */ Route::group(['middleware'=>['auth','verified'], 'prefix'=>'company', 'as'=>'company.'], function() { /** dashboard */ Route::get('dashboard', [CompanyDashboardController::class, 'index'])->name('dashboard'); /** Company Profile Routes */ Route::get('profile', [CompanyProfileController::class, 'index'])->name('profile'); Route::post('profile/company-info', [CompanyProfileController::class, 'updateCompanyInfo'])->name('profile.company-info'); Route::post('profile/founding-info', [CompanyProfileController::class, 'updateFoundingInfo'])->name('profile.founding-info'); Route::post('profile/account-info', [CompanyProfileController::class, 'updateAccountInfo'])->name('profile.account-info'); Route::post('profile/password-update', [CompanyProfileController::class, 'updatePassword'])->name('profile.password-update'); }); Route::middleware('auth')->group(function () { Route::get('/profile', [ProfileController::class, 'edit'])->name('profile.edit'); Route::patch('/profile', [ProfileController::class, 'update'])->name('profile.update'); Route::delete('/profile', [ProfileController::class, 'destroy'])->name('profile.destroy'); }); require __DIR__.'/auth.php'; require __DIR__.'/admin.php'; Route::get('companies', [FrontendCompanyPageController::class, 'index'])->name('companies.index'); Route::get('companies/{slug}', [FrontendCompanyPageController::class, 'show'])->name('companies.show'); Route::get('candidates', [FrontendCandidatePageController::class, 'index'])->name('candidates.index'); Route::get('candidates/{slug}', [FrontendCandidatePageController::class, 'show'])->name('candidates.show');
💾 Save Changes
❌ Cancel