From fdd334a8e3ff8a3ca623b487f10a622571ce2073 Mon Sep 17 00:00:00 2001 From: Marco Ieni Date: Sat, 18 May 2019 17:17:28 +0200 Subject: [PATCH] fixed typo --- di/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/di/index.html b/di/index.html index db801c0..2e17638 100644 --- a/di/index.html +++ b/di/index.html @@ -58,7 +58,7 @@

Declare bindings

// declare bindings val kodein = Kodein { - bind() from singleton { Controler(instance()) } + bind() from singleton { Controller(instance()) } bind<IService>() with singleton { BusinessService() } } @@ -74,7 +74,7 @@

Create modules


                 // ui/module.kt
                 val uiModule = Kodein.Module {
-                    bind() from singleton { Controler(instance()) }
+                    bind() from singleton { Controller(instance()) }
                 }
 
                 // business/module.kt