Fix for media attachments remote URL download

pull/6/head
Eugen Rochko 2016-09-05 19:11:25 +02:00
parent 1d9c886518
commit ed94e998bc
1 changed files with 1 additions and 5 deletions

View File

@ -12,10 +12,6 @@ class MediaAttachment < ApplicationRecord
end
def file_remote_url=(url)
unless self[:file_remote_url] == url
self.file = URI.parse(url)
end
self[:file_remote_url] = url
end
end