I want to render a different link_to name and url path based on an
objects "status" attribute in the index view. Would love to know how
to get the logic out of the view, but barring that, when I use if/else
statements in erb I can only render 4 different link options.
Likewise, case/when is only allowing me to show 2 different results?
Not sure what I am doing wrong (except I am sure I am putting way too
much logic in the view).
Any help or guidelines would be much appreciated.