Enhance careers management features: update CareersPageController to fetch and display career listings with additional fields, modify Career model to include relationships and new attributes, and create a new view for the careers index with an application modal. Update database migration to reflect changes in the careers table structure and adjust routes for application submissions.
This commit is contained in:
1 parent
9b3ca3ff66
commit
a89e2a71d8
15 files changed
+535
-11
No files matched your search
+2
-1
@@ -10,6 +10,7 @@
|
||||
use App\Http\Controllers\OurSolutionPageController;
|
||||
use App\Http\Controllers\StoryPageController;
|
||||
use App\Http\Controllers\Web\SuccessPageController;
|
||||
use App\Http\Controllers\ApplicationController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
// Homepage...
|
||||
@@ -33,8 +34,8 @@
|
||||
|
||||
// Careers...
|
||||
Route::get('careers', [CareersPageController::class, 'index'])->name('career.index');
|
||||
Route::get('careers/{career:slug}', [CareersPageController::class, 'show'])->name('career.show');
|
||||
Route::post('careers', [CareersPageController::class, 'store'])->name('career.store');
|
||||
Route::post('applications', [ApplicationController::class, 'store'])->name('applications.store');
|
||||
|
||||
// Internships...
|
||||
Route::get('internships', [InternshipsPageController::class, 'index'])->name('internship.index');
|
||||
|
||||
Reference in new issue
Block a user