aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-05-07 20:12:45 +0200
committerRobert Jaros <rjaros@finn.pl>2019-05-07 20:12:45 +0200
commite5e523d4a9a5c90156f6dc20410be06bd151eee9 (patch)
tree79f18467feb612908a32deb99488cf75a1cdc3be /src
parent18f8ce777dcb0fa7d6723ffa9f36c35342cd342d (diff)
downloadkvision-e5e523d4a9a5c90156f6dc20410be06bd151eee9.tar.gz
kvision-e5e523d4a9a5c90156f6dc20410be06bd151eee9.tar.bz2
kvision-e5e523d4a9a5c90156f6dc20410be06bd151eee9.zip
Fix routing initialization.
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/routing/Routing.kt2
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() }