Fix menu plan index
This commit is contained in:
parent
ec8eba98c8
commit
795f7a919b
|
@ -27,7 +27,7 @@ class MenuPlanController extends Controller
|
|||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function create(Request $request)
|
||||
public function create()
|
||||
{
|
||||
return Response::detect("menuplans.create");
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue