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