polymorphic link_to

# Why didn't I try out earlier if this is possible? Well, it is!

<%= link_to("Show", [ @foo, @bar ]) %>


Leave a Reply

Formatting: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>