FIX: overwrite onebox's whitelist

This commit is contained in:
Régis Hanol 2016-10-25 00:21:02 +02:00
parent bd352385a5
commit 70b79328ab

View File

@ -0,0 +1,17 @@
module Onebox
module Engine
class WhitelistedGenericOnebox
# overwrite the whitelist
def self.===(other)
true
end
# ensure we're the last engine to be used
def self.priority
Float::INFINITY
end
end
end
end