aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng
diff options
context:
space:
mode:
authorlinclark2014-03-13 18:50:42 -0700
committerBrian Ford2014-03-17 13:07:15 -0700
commitcd49876e34a9281f141526437c68f733b465d0cf (patch)
tree872e0eba85dec8f81516d8e635534d7e24163d9e /src/ng
parent55a0bc453c3cf5196c2b1f55e293b0eb19781b44 (diff)
downloadangular.js-cd49876e34a9281f141526437c68f733b465d0cf.tar.bz2
docs($http): update shortcut method description
Update docs to reflect that $http no longer requires passing in an HTTP method, as changed in #6401.
Diffstat (limited to 'src/ng')
-rw-r--r--src/ng/http.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ng/http.js b/src/ng/http.js
index c7dc64e2..9fcb4578 100644
--- a/src/ng/http.js
+++ b/src/ng/http.js
@@ -236,9 +236,8 @@ function $HttpProvider() {
*
* # Shortcut methods
*
- * Since all invocations of the $http service require passing in an HTTP method and URL, and
- * POST/PUT requests require request data to be provided as well, shortcut methods
- * were created:
+ * Shortcut methods are also available. All shortcut methods require passing in the URL, and
+ * request data must be passed in for POST/PUT requests.
*
* ```js
* $http.get('/someUrl').success(successCallback);