Working on MenuPlanController.php
This commit is contained in:
parent
a84f1729f0
commit
b56f3d2a34
|
@ -62,9 +62,9 @@ class MenuPlanController extends Controller
|
||||||
* @param int $id
|
* @param int $id
|
||||||
* @return \Illuminate\Http\Response
|
* @return \Illuminate\Http\Response
|
||||||
*/
|
*/
|
||||||
public function show($id)
|
public function show(MenuPlan $id)
|
||||||
{
|
{
|
||||||
return Response::detect("menuplan.show", [ "menuplans" => $id]);
|
return Response::detect("menuplans.show", [ "menuplan" => $id]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="{{ route('menu-plans.show') }}" class="text-white">Vis Menuplan</a> /
|
<a href="{{ route('menu-plans.show', [ "id" => $menuplan->id ]) }}" class="text-white">Vis Menuplan</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
|
|
Loading…
Reference in New Issue