Esempio n. 1
0
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show(Request $request, $action)
 {
     if ($action == 'detail') {
         $id = $request->input('id');
         $id = !empty($id) ? $id : $this->MYID;
         return MsUser::detail($id);
     }
     return response(array('error' => 'true'), 404);
 }