Revert "Merge pull request #7349 from srna/patch-1"

This reverts commit b37b71d887, reversing
changes made to 42a1d8083c.
This commit is contained in:
Marin Jankovski 2014-12-05 15:33:22 +01:00
parent 69e8b0e9fd
commit db585009be
1 changed files with 0 additions and 4 deletions

View File

@ -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