Skip to content

Commit 3b04de8

Browse files
committed
Merge branch 'docs-patch-38' into 'master'
Update vuex.md - swap PUT/POST methods See merge request gitlab-org/gitlab-ce!24494
2 parents 40efc45 + f15e298 commit 3b04de8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/development/fe_guide/vuex.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ create:
120120
1. An action `receiveSomethingError`, to handle the error callback
121121
1. An action `fetchSomething` to make the request.
122122
1. In case your application does more than a `GET` request you can use these as examples:
123-
- `PUT`: `createSomething`
124-
- `POST`: `updateSomething`
123+
- `POST`: `createSomething`
124+
- `PUT`: `updateSomething`
125125
- `DELETE`: `deleteSomething`
126126

127127
The component MUST only dispatch the `fetchNamespace` action. Actions namespaced with `request` or `receive` should not be called from the component

0 commit comments

Comments
 (0)