From c7b2f43c30acb09ca3107f1ebdf722fc223a504d Mon Sep 17 00:00:00 2001 From: Tanner Date: Thu, 18 May 2017 14:57:35 +0100 Subject: [PATCH] Update droplet.md --- 2.0/docs/vapor/droplet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2.0/docs/vapor/droplet.md b/2.0/docs/vapor/droplet.md index b4f584ab..e2deb268 100644 --- a/2.0/docs/vapor/droplet.md +++ b/2.0/docs/vapor/droplet.md @@ -84,7 +84,7 @@ If you want to modify a property of the `Droplet` only in certain cases, you can ```swift let config = try Config() -config.addConfigurable(log: MyEmailLogger.self, name: "email") +config.addConfigurable(log: MyEmailLogger.init, name: "email") let drop = Droplet(config)