Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
9bc7369ffe
|
@ -73,8 +73,8 @@ class ContactController extends Controller
|
||||||
*/
|
*/
|
||||||
public function edit($id)
|
public function edit($id)
|
||||||
{
|
{
|
||||||
$contacts = Contact::find($id);
|
$contact = Contact::find($id);
|
||||||
return Response::detect("contacts.edit", ["contact" => $contacts]);
|
return Response::detect("contacts.edit", ["contact" => $contact]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="{{ route('contacts.edit') }}" class="text-white">Rediger Bruger</a> /
|
<a href="{{ route('contacts.update', ["contact" => $contact]) }}" class="text-white">Rediger Bruger</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
|
|
Loading…
Reference in New Issue