Created
March 20, 2012 19:43
-
-
Save Senhordim/2140409 to your computer and use it in GitHub Desktop.
Helper para pegar vídeo do youtube
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#youtube videos | |
def youtube_video_tag(id, html_options = {}) | |
video_tag "http://www.youtube.com/embed/#{id}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment