Browse Source

* Correct getcurrentlocation

michael 5 years ago
parent
commit
0bc30e88e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/webrouter.pp

+ 1 - 1
packages/rtl/webrouter.pp

@@ -646,7 +646,7 @@ end;
 
 function TRouter.GetCurrentLocation: String;
 begin
-
+  Result:=History.GetCurrentLocation;
 end;
 
 function TRouter.Push(location: TRawLocation): TTransitionResult;