summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2018-06-20 19:55:59 +0000
committerEric Eastwood <contact@ericeastwood.com>2018-06-20 19:55:59 +0000
commitdc90eaf17ce98b3430fbc174e3704aca802209f5 (patch)
tree43a75a4b5aeb20395fc7e25c9df33f2beab6980c /doc
parentad0073bc0f9b1d7198b65b7cf800cb2e902475f2 (diff)
downloadgitlab-ce-dc90eaf17ce98b3430fbc174e3704aca802209f5.tar.gz
Fix a couple Vuex typosMadLittleMods-master-patch-55656
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 858b03c60bf..4089cd37d73 100644
--- a/doc/development/fe_guide/vuex.md
+++ b/doc/development/fe_guide/vuex.md
@@ -78,7 +78,7 @@ In this file, we will write the actions that will call the respective mutations:
```javascript
import * as types from './mutation_types';
- import axios from '~/lib/utils/axios-utils';
+ import axios from '~/lib/utils/axios_utils';
import createFlash from '~/flash';
export const requestUsers = ({ commit }) => commit(types.REQUEST_USERS);
@@ -214,7 +214,7 @@ import { mapGetters } from 'vuex';
};
```
-### `mutations_types.js`
+### `mutation_types.js`
From [vuex mutations docs][vuex-mutations]:
> It is a commonly seen pattern to use constants for mutation types in various Flux implementations. This allows the code to take advantage of tooling like linters, and putting all constants in a single file allows your collaborators to get an at-a-glance view of what mutations are possible in the entire application.