diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-05-07 20:12:45 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-05-07 20:12:45 +0200 |
commit | e5e523d4a9a5c90156f6dc20410be06bd151eee9 (patch) | |
tree | 79f18467feb612908a32deb99488cf75a1cdc3be | |
parent | 18f8ce777dcb0fa7d6723ffa9f36c35342cd342d (diff) | |
download | kvision-e5e523d4a9a5c90156f6dc20410be06bd151eee9.tar.gz kvision-e5e523d4a9a5c90156f6dc20410be06bd151eee9.tar.bz2 kvision-e5e523d4a9a5c90156f6dc20410be06bd151eee9.zip |
Fix routing initialization.
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/routing/Routing.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/routing/Routing.kt b/src/main/kotlin/pl/treksoft/kvision/routing/Routing.kt index 950dfe1c..4628d989 100644 --- a/src/main/kotlin/pl/treksoft/kvision/routing/Routing.kt +++ b/src/main/kotlin/pl/treksoft/kvision/routing/Routing.kt @@ -48,4 +48,4 @@ open class Routing : Navigo(null, true, "#!") { /** * Default JavaScript router. */ -var routing = Routing() +var routing = Routing().also { it.resolve() } |