added route for job editing
This commit is contained in:
parent
dbd6bdce51
commit
344db7dc91
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ Route::get('/jobs', function () {
|
|||
]);
|
||||
});
|
||||
|
||||
Route::get('/jobs/{id}/edit', function ($id) {
|
||||
$job=Job::find($id);
|
||||
return view('jobs.edit',['job'=>$job]);
|
||||
});
|
||||
// return view('jobs', ['jobs' => $jobs]);
|
||||
// });
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue