示例#1
0
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     $out['label'] = Label::findOrNew((int) $id);
     if (Request::ajax()) {
         return $out;
     }
     return $out;
 }