Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
f15e2985
Commit
f15e2985
authored
Jan 18, 2019
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update vuex.md - swap PUT/POST methods
parent
5e01cf72
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/development/fe_guide/vuex.md
doc/development/fe_guide/vuex.md
+2
-2
No files found.
doc/development/fe_guide/vuex.md
View file @
f15e2985
...
...
@@ -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:
-
`P
U
T`
:
`createSomething`
-
`P
OS
T`
:
`updateSomething`
-
`P
OS
T`
:
`createSomething`
-
`P
U
T`
:
`updateSomething`
-
`DELETE`
:
`deleteSomething`
The component MUST only dispatch the
`fetchNamespace`
action. Actions namespaced with
`request`
or
`receive`
should not be called from the component
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment