diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-08-03 14:29:35 +0200 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-08-03 14:29:35 +0200 |
commit | f711b2df8bf02ed10716cdd6292002132413e3d8 (patch) | |
tree | 61855bf762b13a6f85aa0ff676f4d2e115ed1329 /app/models/blob_viewer | |
parent | 2197ee02e95ade455785cc1769bf3a40a082a799 (diff) | |
download | gitlab-ce-f711b2df8bf02ed10716cdd6292002132413e3d8.tar.gz |
Clean up some backend
Diffstat (limited to 'app/models/blob_viewer')
-rw-r--r-- | app/models/blob_viewer/base.rb | 2 | ||||
-rw-r--r-- | app/models/blob_viewer/server_side.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/models/blob_viewer/base.rb b/app/models/blob_viewer/base.rb index 35965d01692..bf3453b3063 100644 --- a/app/models/blob_viewer/base.rb +++ b/app/models/blob_viewer/base.rb @@ -82,7 +82,7 @@ module BlobViewer # format of the blob. # # Prefer to implement a client-side viewer, where the JS component loads the - # binary from `blob_raw_url` and does its own format validation and error + # binary from `blob_raw_path` and does its own format validation and error # rendering, especially for potentially large binary formats. def render_error if too_large? diff --git a/app/models/blob_viewer/server_side.rb b/app/models/blob_viewer/server_side.rb index fbc1b520c01..86afcc86aa0 100644 --- a/app/models/blob_viewer/server_side.rb +++ b/app/models/blob_viewer/server_side.rb @@ -17,7 +17,7 @@ module BlobViewer # build artifacts, can only be rendered using a client-side viewer, # since we do not want to read large amounts of data into memory on the # server side. Client-side viewers use JS and can fetch the file from - # `blob_raw_url` using AJAX. + # `blob_raw_path` using AJAX. return :server_side_but_stored_externally if blob.stored_externally? super |