diff options
author | Phil Hughes <me@iamphill.com> | 2017-11-10 17:40:20 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-11-10 17:40:20 +0000 |
commit | 76152c0f8e7b8c4d7e147cd0f38147125e34cccd (patch) | |
tree | 0375818e0794632a9aeff4df2ef381cf8763c9fa /app/assets/javascripts | |
parent | dfe0ad2d83fb459a219ae8af9ea9a74647f8fb80 (diff) | |
download | gitlab-ce-76152c0f8e7b8c4d7e147cd0f38147125e34cccd.tar.gz |
added missing specsmulti-editor-store-specs
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/repo/stores/actions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/repo/stores/actions.js b/app/assets/javascripts/repo/stores/actions.js index dc55602d2f7..120ce96f44d 100644 --- a/app/assets/javascripts/repo/stores/actions.js +++ b/app/assets/javascripts/repo/stores/actions.js @@ -84,7 +84,7 @@ export const commitChanges = ({ commit, state, dispatch, getters }, { payload, n flash(`Your changes have been committed. Commit ${data.short_id} with ${data.stats.additions} additions, ${data.stats.deletions} deletions.`, 'notice'); if (newMr) { - redirectToUrl(`${state.endpoints.newMergeRequestUrl}${branch}`); + dispatch('redirectToUrl', `${state.endpoints.newMergeRequestUrl}${branch}`); } else { commit(types.SET_COMMIT_REF, data.id); |