diff options
author | Jonne Haß <me@mrzyx.de> | 2013-09-20 01:39:13 +0400 |
---|---|---|
committer | Jonne Haß <me@mrzyx.de> | 2013-09-20 01:39:13 +0400 |
commit | ad20a8487b8d41a281ca0dd97d6d2bd93caf9942 (patch) | |
tree | 15c24a65556866559ccf6e0c02aec96402d7678f /config/initializers | |
parent | 68da48f0d60d47727d3c3e7597cd13e52dbd744b (diff) |
bump ruby-oembed
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/oembed.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config/initializers/oembed.rb b/config/initializers/oembed.rb index e7d98d648..e8334cdad 100644 --- a/config/initializers/oembed.rb +++ b/config/initializers/oembed.rb @@ -7,9 +7,6 @@ require 'uri' # note that 'trusted_endpoint_url' is the only information # in OEmbed that we can trust. anything else may be spoofed! -# patch in support for new https soundcloud -OEmbed::Providers::SoundCloud << "https://*.soundcloud.com/*" - oembed_provider_list = [ OEmbed::Providers::Youtube, OEmbed::Providers::Vimeo, @@ -35,4 +32,4 @@ end OEmbed::Providers.register_fallback(OEmbed::ProviderDiscovery) -TRUSTED_OEMBED_PROVIDERS = OEmbed::Providers
\ No newline at end of file +TRUSTED_OEMBED_PROVIDERS = OEmbed::Providers |