Commit Graph

49 Commits

Author SHA1 Message Date
hyouuu 63ecf63b8e Typo 2016-10-19 10:03:27 -07:00
Logan Wright 6430033cdb review comments 2016-10-17 11:27:21 -04:00
Logan Wright 8c11cae1a1 Merge branch 'master' into leaf 2016-10-17 11:25:46 -04:00
Logan Wright b976b1faa3 Merge pull request #58 from iq3addLi/fix_controllers
fix drop.get(_:, _: ) -> drop.get(_:, handler: )
2016-10-17 11:16:51 -04:00
Bojan Stefanovic 57731f90cd Update views.md
stencil doesn't exist anymore
2016-10-15 17:33:53 -07:00
Ikumi Arakane 0f05227d60 fix drop.get(_:_: ) -> drop.get(_: handler: ) 2016-10-14 16:04:12 +09:00
Tanner 85208839ac Merge pull request #56 from vapor/1.1
1.1
2016-10-12 14:09:27 -04:00
Tanner Nelson a92b2086bc
add additional notes 2016-10-12 14:09:17 -04:00
Tanner 8dd4160aa9 Merge pull request #52 from zhao95/patch-2
Program syntax error
2016-10-03 15:06:35 -04:00
Tanner fc62ddbba8 Merge pull request #51 from zhao95/patch-1
Program syntax error
2016-10-03 15:06:20 -04:00
泽熙 82f1c3071a Program syntax error
if drop.config.environment == .production {
    ...
}
-------------------------------------------
if drop.environment == .production {
    ...
}
2016-10-03 18:36:54 +08:00
泽熙 090d51aae5 Program syntax error
drop.any("hello") { request in
	guard let name = request.data["name"].string else {
		throw Abort.badRequest
	}

	return "Hello, \(name)!"
}
---------------------------------------------------------------
drop.get("hello") { request in
    guard let name = request.data["name"]?.string else {
        throw Abort.badRequest
    }
    return "Hello, \(name)!"
}
2016-10-03 18:27:49 +08:00
Adrian Wisaksana de893777a4 Add explanation to import HTTP module 2016-10-02 21:07:07 +08:00
Tanner Nelson 4132b7b5ab
addl config docs 2016-09-29 20:15:28 -04:00
jonaszmclaren b9fce78e31 Update sessions.md
SessionsMiddleware instead of AuthMiddleware
2016-09-28 15:26:54 +02:00
Tanner Nelson d393616a94
sessions 2016-09-26 11:43:31 -04:00
Stephen Seaton-Blanchard 30c64b9b62 Create commands.md
Writing Command documentation.
2016-09-25 20:07:35 -05:00
Tanner 9276bd446f Merge pull request #38 from vapor/controllers
controllers
2016-09-20 15:05:43 -04:00
Logan Wright e4d2aed646 update view docs 2016-09-20 14:44:29 -04:00
Tanner Nelson 72fb35cf08
controllers 2016-09-20 13:29:41 -04:00
Adrien Cantérot d7da51a596 Vapor version updated 2016-09-20 18:06:29 +02:00
Tanner 48bafebbe3 Merge pull request #34 from VikinArtisan/patch-3
update call view command
2016-09-19 13:27:52 -04:00
vikin 9d7aa322ce update call view command
correction drop.view("user.html")
2016-09-17 15:23:43 +08:00
zyxep 447acf39b1 Typo for a file in the example 2016-09-16 23:03:04 +02:00
Tanner 2a1d14812b Merge pull request #31 from VikinArtisan/patch-1
update call view command
2016-09-16 12:50:41 -04:00
vikin 052525fd0b update call view command
update call view command 
```swift
drop.view -> drop.view.make
```
2016-09-16 20:53:10 +08:00
Tóth Balázs 0faa1d35e4 Droplet start() is now run() 2016-09-16 11:49:23 +02:00
Tanner Nelson 87bf399ffe
updates 2016-09-15 16:40:52 -04:00
Tanner Nelson b5073d8e99
addl updates 2016-09-15 00:48:13 -04:00
Nathan Flurry 22314737ef - Added Leaf documentation (copied from Leaf README)
- Modified views docs to add Leaf
2016-09-09 23:20:58 -07:00
Isaac Overacker 7be48d9c02 Trivial spelling and whitespace fixes in docs. 2016-08-26 15:26:27 -07:00
Tanner Nelson cb602c3e42
big rename 2016-08-05 11:32:25 -04:00
Tanner Nelson 4b3a0c5d64
Merge branch 'master' into provider
# Conflicts:
#	couscous.yml
2016-08-05 11:25:58 -04:00
Tanner Nelson c318b79e7a
hash 2016-08-04 17:07:28 -04:00
Tanner Nelson 08a3859601
provider docs 2016-08-04 17:00:01 -04:00
Tanner Nelson 5b1af6d3fa
remove import http 2016-08-04 16:18:12 -04:00
Tanner Nelson e370952fb5
middleware *phew* 2016-08-03 18:05:03 -04:00
Tanner Nelson 15b924f22d
logan comments 2016-08-03 15:58:18 -04:00
Tanner Nelson 4a1df2b538
json + routing update 2016-08-03 15:15:02 -04:00
Tanner Nelson d57bf6ebd4
routing docs 2016-08-02 18:21:36 -04:00
Tanner Nelson dcb360d174
Merge branch 'master' of github.com:qutheory/documentation
# Conflicts:
#	couscous.yml
2016-08-02 16:03:58 -04:00
Tanner Nelson 1675536676
Merge branch 'master' of github.com:qutheory/documentation
# Conflicts:
#	couscous.yml
2016-08-02 16:03:28 -04:00
Logan Wright 7b4cd4f5b7 comments 2016-08-02 16:02:46 -04:00
Tanner Nelson 8622dcb14c
starting views 2016-08-02 16:02:11 -04:00
Logan Wright c05546e41e lowercase swift on code blocks 2016-08-02 15:59:03 -04:00
Logan Wright abd7c931a1 validation 2016-08-02 15:58:46 -04:00
Logan Wright 46c21327e2 config docs 2016-08-02 15:56:42 -04:00
Tanner Nelson 67ee447ae1
update routing 2016-07-30 21:44:30 -04:00
Tanner Nelson 80f3ecd4a9
📖 2016-07-30 16:09:50 -04:00