An “else” condition for link_to_unless_current
Every time I get frustrated with an aspect of Rails, it turns out that it’s just my idiocy and not actually something to do with Rails.
Most recently, I wanted to code this algorithm:
If on the current page
show <a href=”blah1″>link 1</a>
else
show <a href=”blah2>link 2</a>
Comandra umbellata var. californica (Santalaceae); Common bastard
