Commit Graph

76 Commits

Author SHA1 Message Date
Ashok Gelal c9aabf939a Remove duplicate reference to html-leaf plugin
`vscode-html-leaf`plugin and `html-leaf`plugin are same.
2017-01-15 09:34:59 -07:00
Tom Holland 8e3e02929d Merge branch 'master' of https://github.com/vapor/documentation 2016-12-27 10:54:24 -08:00
Tom Holland ab132c73e0 Added index parameter name 2016-12-27 10:53:04 -08:00
Tom Holland e39c53cd0e Fixed typo & added help for #index 2016-12-27 10:10:45 -08:00
Tom Holland e4ff1872b8 Added Link for VSCode plugin 2016-12-27 10:09:45 -08:00
Francisco Amado ef4224e460 Added VScode syntax highlighter 2016-12-20 10:26:58 +00:00
Tom Holland 65ab0f8e00 Added VS Code extension & fixed typo 2016-12-17 08:53:01 -08:00
Sundeep Gupta c4d5b713fa Explicitly unwrap optionals in JSON example
Without this, compiler fails
2016-12-14 16:26:42 -05:00
Tanner 58177d9c13 Merge pull request #95 from strogonoff/patch-1
Correct links to GitHub searches
2016-12-14 16:13:31 -05:00
Tanner acc6ab68b1 Merge pull request #93 from brki/middleware-docs
Fix sample middleware code
2016-12-14 16:12:53 -05:00
Tanner 0281f4059a Merge pull request #92 from codesman/leaf-documentation
Improved Leaf Docs
2016-12-14 16:12:31 -05:00
Anton Strogonoff 4182d40309 Fixed a broken link to GitHub search 2016-12-11 06:45:01 +03:00
Tanner 6bfffa7008 Merge pull request #89 from krystofbe/master
Typo
2016-12-09 17:52:20 -05:00
Brian 9f83ba384e Fix sample middleware code 2016-12-09 14:17:14 +01:00
Tom Holland 9ad6d8eaac Improved Leaf Docs 2016-12-08 09:58:14 -08:00
krystofbe ba7c7a91b8 Typo 2016-12-02 10:43:55 +01:00
isaoeka 0471eb6c16 Fix the position of try
In addition, correction of missing designation
https://github.com/vapor/mysql-provider/blob/master/Sources/VaporMySQL/Provider.swift#L61-L75
2016-11-27 23:37:53 +09:00
Tanner Nelson 9ecad20821 leaf highlighting 2016-11-17 12:08:27 -05:00
Tanner 2f8d8c4b25 Merge pull request #80 from vapor/Casperhr-config-update
Update config.md
2016-11-14 14:56:11 -05:00
Casper Rasmussen a8b8280371 Update config.md 2016-11-13 09:06:46 +01:00
Benedikt Reichert 4e69f97b61 Fixed broken link to Provider 2016-11-12 14:19:08 +01:00
Tom Holland 682bfafaa0 Specify rendered template filename 2016-11-07 10:03:33 -08:00
Tom Holland 2d64a5dff7 Added examples of extend and embed 2016-11-07 09:56:13 -08:00
Tanner Nelson bd7947ee2d fix views dir 2016-11-02 12:50:50 -04:00
Tanner Nelson 0bc7a93fcf fix typos 2016-11-02 12:47:16 -04:00
Tanner Nelson a2fde4c0f4 use new droplet init methods 2016-11-02 12:43:48 -04:00
steve-suh 0e0fa69075 Middleware documentation updated to reflect latest changes. 2016-10-26 15:30:48 -07:00
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