Merge pull request #52 from zhao95/patch-2

Program syntax error
This commit is contained in:
Tanner 2016-10-03 15:06:35 -04:00 committed by GitHub
commit 8dd4160aa9
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ Creation of the `Droplet` normally happens in the `main.swift` file.
The `environment` property contains the current environment your application is running in. Usually development, testing, or production.
```swift
if drop.config.environment == .production {
if drop.environment == .production {
...
}
```