diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-01-05 19:22:07 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-01-05 19:22:14 +0100 |
commit | 21a713f9c48fb0be90da61321ecb75b3f27039d2 (patch) | |
tree | 31b0b492d98d5523fb1df7e081f1353a6f02be40 /app/assets/javascripts/pipelines | |
parent | d66c48b303b00b731540dfa928ea151295ced5d4 (diff) | |
download | gitlab-ce-21a713f9c48fb0be90da61321ecb75b3f27039d2.tar.gz |
Change reset_cache action from get to post
Diffstat (limited to 'app/assets/javascripts/pipelines')
-rw-r--r-- | app/assets/javascripts/pipelines/components/nav_controls.vue | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/assets/javascripts/pipelines/components/nav_controls.vue b/app/assets/javascripts/pipelines/components/nav_controls.vue index a5717c23a44..f2d5f76c0ce 100644 --- a/app/assets/javascripts/pipelines/components/nav_controls.vue +++ b/app/assets/javascripts/pipelines/components/nav_controls.vue @@ -50,10 +50,9 @@ export default { Get started with Pipelines </a> - <a :href="resetCachePath" - class="btn btn-default"> - Clear runner caches - </a> + <form :action="resetCachePath" method="post"> + <input type="submit" class="btn btn-default" value="Clear runner caches" /> + </form> <a :href="ciLintPath" |