app/Http/Controllers/ApiUsersController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $u = Session::get('id_usuario');
        return $usuario = Usuario::where('id_usuario','=',$u)->get();
    }
public function index ( ) { $ u = Session :: get ( 'id_usuario' ) ; return $ usuario = Usuario :: where ( 'id_usuario' , '=' , $ u ) -> get ( ) ; }
Display a listing of the resource.
Display a listing of the resource .
//