Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

fixed typo #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions di/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2>Declare bindings</h2>

// declare bindings
val kodein = Kodein {
bind() from singleton { Controler(instance()) }
bind() from singleton { Controller(instance()) }
bind&lt;IService&gt;() with singleton { BusinessService() }
}
</code></pre>
Expand All @@ -74,7 +74,7 @@ <h2>Create modules</h2>
<pre><code class="kotlin">
// ui/module.kt
val uiModule = Kodein.Module {
bind() from singleton { Controler(instance()) }
bind() from singleton { Controller(instance()) }
}

// business/module.kt
Expand Down