diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-06-06 16:20:24 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-06-07 14:28:33 -0500 |
commit | dbffaaa97e7a195dc5421237392788a03a6b763a (patch) | |
tree | 50bb684af42b12ee18b8221573827bdbc2d18504 /app/models/blob_viewer | |
parent | fc1090d9f39231e31f929e37b9703db9738b457c (diff) | |
download | gitlab-ce-dbffaaa97e7a195dc5421237392788a03a6b763a.tar.gz |
Blob#load_all_data! doesn’t need an argumentblob-load-all-data
Diffstat (limited to 'app/models/blob_viewer')
-rw-r--r-- | app/models/blob_viewer/server_side.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/models/blob_viewer/server_side.rb b/app/models/blob_viewer/server_side.rb index 05a3dd7d913..e6bcacf7f70 100644 --- a/app/models/blob_viewer/server_side.rb +++ b/app/models/blob_viewer/server_side.rb @@ -9,9 +9,7 @@ module BlobViewer end def prepare! - if blob.project - blob.load_all_data!(blob.project.repository) - end + blob.load_all_data! end def render_error |