Skip to content

Instantly share code, notes, and snippets.

@darron
Forked from beautifulcode/gist:272518
Created January 8, 2010 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darron/272525 to your computer and use it in GitHub Desktop.
Save darron/272525 to your computer and use it in GitHub Desktop.
#showlinks
-@links.each do |link|
%p= link_to( link.title, link.url, :title => link.title, :target => '_blank' )
#linknote
%p Send this link to your friends:
%b
%a{:href => "/" } Dude
/ This works, but I am trying to put @instance_variable in the "/" and the "Dude"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment