lib/onebox/engine/cloudapp_onebox.rb in onebox-1.9.24 vs lib/onebox/engine/cloudapp_onebox.rb in onebox-1.9.25
- old
+ new
@@ -11,14 +11,14 @@
def to_html
og = get_opengraph
if !og.image.nil?
- return image_html(og)
+ image_html(og)
elsif og.title.to_s[/\.(mp4|ogv|webm)$/]
- return video_html(og)
+ video_html(og)
else
- return link_html(og)
+ link_html(og)
end
end
private