diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-06-15 09:42:56 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-06-15 09:42:56 +0000 |
commit | fbc749a96e07dd1b1b5760cfe376b5b7838181f0 (patch) | |
tree | ab7f1576bcb409f614db6a40ca77de032553a7a7 /app/assets | |
parent | 4ac381a565eb1b3e7ebaec443889c6a7138fdfd0 (diff) | |
download | gitlab-ce-fbc749a96e07dd1b1b5760cfe376b5b7838181f0.tar.gz |
Reuse viewer param and move logic to blob controller
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/ide/services/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/ide/services/index.js b/app/assets/javascripts/ide/services/index.js index a8b9afa35d9..da9de25302a 100644 --- a/app/assets/javascripts/ide/services/index.js +++ b/app/assets/javascripts/ide/services/index.js @@ -9,7 +9,7 @@ export default { return Vue.http.get(endpoint, { params: { format: 'json' } }); }, getFileData(endpoint) { - return Vue.http.get(endpoint, { params: { format: 'json', html_render: 'false' } }); + return Vue.http.get(endpoint, { params: { format: 'json', viewer: 'none' } }); }, getRawFileData(file) { if (file.tempFile) { |