views/show.blade.php
@extends('layouts.app')
@section('content')
<h5>Showing Task </h5>
<div class="jumbotron text-center">
<p>
<strong>Task Title:</strong> <br>
<strong>Description:</strong>
</p>
</div>
@endsection
Controllers/HomeController.php
public function show(Task $task)
{
return view('show', compact('task', $task));
}
routes/web.php
Route::get('show/{id}', 'HomeController@show')->name('show');
views/viewalltask.blade.php
<td><a href=""></a></td>
No error / No Record / instead of particulr record display blank page
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire