Exemple #1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  *
  * @return Response
  */
 public function edit(User $user)
 {
     $subscriptions = Subscription::has('adtypes')->get();
     return view_backend('user.edit', compact('user', 'subscriptions'));
 }