Exemplo n.º 1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id client_id
  * @return Response
  */
 public function edit($id)
 {
     $settings = Settings::find($id);
     if (is_null($settings)) {
         return Redirect::to('/callback/settings/create?id=' . $id);
     }
     return view('callback.settings.edit')->with(compact('settings'));
 }