Fix menu plan index

This commit is contained in:
2020-06-25 15:29:43 +02:00
parent ec8eba98c8
commit 795f7a919b
3 changed files with 4 additions and 4 deletions
@@ -6,7 +6,7 @@
@endsection
@section("path")
<a href="{{ route('menu-plans.create') }}" class="text-white">Opret Menuplan</a> /
<a href="{{ route('menuplans.create') }}" class="text-white">Opret Menuplan</a> /
@endsection
@section("content")
@@ -23,7 +23,7 @@
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
</tr>
@foreach($menuplans as $menuplan)
@foreach($menuPlans as $menuplan)
<tr>
<th>{ID}</th>
<th>{Mandag}</th>
@@ -39,5 +39,5 @@
@endforeach
</table>
{{ $menuplans->links() }}
{{ $menuPlans->links() }}
@endsection