Преглед изворни кода

Fix for media attachments remote URL download

master
Eugen Rochko пре 7 година
родитељ
комит
ed94e998bc
1 измењених фајлова са 1 додато и 5 уклоњено
  1. +1
    -5
      app/models/media_attachment.rb

+ 1
- 5
app/models/media_attachment.rb Прегледај датотеку

@@ -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
self.file = URI.parse(url)
end
end

Loading…
Откажи
Сачувај