generated from boboko/starter
Feat: Updating routes and controllers to use the updated Services coming from boboko/core
This commit is contained in:
@@ -18,11 +18,11 @@
|
||||
</svg>
|
||||
</a>
|
||||
<div class="nav-dropdown">
|
||||
{{-- @foreach($categories as $category)
|
||||
<a href="/category/{{ $category->id }}">
|
||||
{{ $category->translateAttribute('name') }}
|
||||
@foreach($categories ?? [] as $category)
|
||||
<a href="{{ route('category.show', ['id' => $category['id']]) }}">
|
||||
{{ $category['name'] }}
|
||||
</a>
|
||||
@endforeach --}}
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user