Revert "Merge pull request #7349 from srna/patch-1"
This reverts commitb37b71d887
, reversing changes made to42a1d8083c
.
This commit is contained in:
parent
69e8b0e9fd
commit
db585009be
1 changed files with 0 additions and 4 deletions
|
@ -26,10 +26,6 @@ class AttachmentUploader < CarrierWave::Uploader::Base
|
|||
Gitlab.config.gitlab.relative_url_root + "/files/#{model.class.to_s.underscore}/#{model.id}/#{file.filename}"
|
||||
end
|
||||
|
||||
def url
|
||||
Gitlab.config.gitlab.relative_url_root + super unless super.nil?
|
||||
end
|
||||
|
||||
def file_storage?
|
||||
self.class.storage == CarrierWave::Storage::File
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue