Replace request_var() with $request->variable()