Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKushal Pandya <kushalspandya@gmail.com>2019-01-18 20:10:12 +0300
committerKushal Pandya <kushalspandya@gmail.com>2019-01-18 20:10:12 +0300
commit3b04de86085c15057896cca6e2bee59599b73178 (patch)
treec9452d2c87786986d40b8633f92d46afd896450f /doc
parent40efc45431968d31f5ba1d48d33d88993e0c4eba (diff)
parentf15e29855e5edb49fdf6cd9b98f7603764f2ce3a (diff)
Merge branch 'docs-patch-38' into 'master'
Update vuex.md - swap PUT/POST methods See merge request gitlab-org/gitlab-ce!24494
Diffstat (limited to 'doc')
-rw-r--r--doc/development/fe_guide/vuex.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/fe_guide/vuex.md b/doc/development/fe_guide/vuex.md
index 65963b959f7..4b60ec80cb8 100644
--- a/doc/development/fe_guide/vuex.md
+++ b/doc/development/fe_guide/vuex.md
@@ -120,8 +120,8 @@ create:
1. An action `receiveSomethingError`, to handle the error callback
1. An action `fetchSomething` to make the request.
1. In case your application does more than a `GET` request you can use these as examples:
- - `PUT`: `createSomething`
- - `POST`: `updateSomething`
+ - `POST`: `createSomething`
+ - `PUT`: `updateSomething`
- `DELETE`: `deleteSomething`
The component MUST only dispatch the `fetchNamespace` action. Actions namespaced with `request` or `receive` should not be called from the component