mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Kernel.open is deprecated (#12387)
This commit is contained in:
parent
9a779ca99a
commit
27386ba714
@ -255,6 +255,9 @@ class TopicEmbed < ActiveRecord::Base
|
||||
end
|
||||
end
|
||||
|
||||
def self.open(uri, **kwargs)
|
||||
URI.open(uri, **kwargs)
|
||||
end
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
|
Loading…
Reference in New Issue
Block a user