Skip to content

Instantly share code, notes, and snippets.

@beautifulcode
Forked from darron/gist:272514
Created January 8, 2010 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save beautifulcode/272518 to your computer and use it in GitHub Desktop.
Save beautifulcode/272518 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