Make 'load' func in Droplet+Setup.swift public

This commit is contained in:
Adam Price 2017-03-19 15:02:40 -04:00 committed by GitHub
parent 5ada0ae80e
commit e97187061b
1 changed files with 1 additions and 1 deletions

View File

@ -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" }