I have route defined in the Route.php
file like below
Route::get('/SubCategories-List/{categoryID}', 'Skills\Category_Controller@SubCategories');
Below is the code done in Blade for showing list of records.
@foreach($Categories as $Category)
<tr class="odd pointer">
<td class=" last">
<a href="{{Route('SubCategories-List', [$Category->CategoryID])}}">
Sub Categories
</a>
</td>
</tr>
@endforeach
I am getting the following error when action method calls the blade
Route [SubCategories-List] not defined.
Am I missing something ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire