diff --git a/lib/application.js b/lib/application.js index 310e6dfef21..7da1d9874ac 100644 --- a/lib/application.js +++ b/lib/application.js @@ -503,7 +503,7 @@ app.all = function all(path) { }; /** - * Render the given view `name` name with `options` + * Render the given view `name` with `options` * and a callback accepting an error and the * rendered template string. * diff --git a/lib/response.js b/lib/response.js index b4755a5c060..f60025d570a 100644 --- a/lib/response.js +++ b/lib/response.js @@ -785,7 +785,7 @@ res.cookie = function (name, value, options) { * * Examples: * - * res.location('/foo/bar').; + * res.location('/foo/bar'); * res.location('http://example.com'); * res.location('../login'); *