mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 20:34:52 +00:00
This reverts commit 7ca57db97afda4d1c130269061f0db3cb9d0dd42, reversing changes made to b7e027cfd1590365ac9c85141ff2b02c25e900fb.
15 lines
255 B
Ruby
15 lines
255 B
Ruby
require_dependency 'oneboxer/oembed_onebox'
|
|
|
|
module Oneboxer
|
|
class KinomapOnebox < OembedOnebox
|
|
|
|
matcher /kinomap\.com/
|
|
|
|
def oembed_endpoint
|
|
"http://www.kinomap.com/oembed?url=#{BaseOnebox.uriencode(@url)}&format=json"
|
|
end
|
|
|
|
|
|
end
|
|
end
|