Merge pull request #130 from adamhowardprice/patch-1

Make 'load' func in Droplet+Setup.swift public
This commit is contained in:
Tanner 2017-03-20 10:14:16 +01:00 committed by GitHub
commit 0a79a3989c
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" }