From e97187061b318cf277dae74a0cea1bef8e9da2b3 Mon Sep 17 00:00:00 2001 From: Adam Price Date: Sun, 19 Mar 2017 15:02:40 -0400 Subject: [PATCH] Make 'load' func in Droplet+Setup.swift public --- testing/basic.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/basic.md b/testing/basic.md index 7fd53f71..0fc27ce5 100644 --- a/testing/basic.md +++ b/testing/basic.md @@ -15,7 +15,7 @@ Here's an example of my setup file. I name mine `Droplet+Setup.swift`. Here's ho ```swift import Vapor -func load(_ drop: Droplet) throws { +public func load(_ drop: Droplet) throws { drop.preparations.append(Todo.self) drop.get { _ in return "put my droplet's logic in this `load` function" }