Changed link_to to render a block when it is given instead of a name