Here's the bug probably. link_to should take 2 params.