So my link_to looks like:
<%= link_to compare_stage_path(stage, :access_key => client.authentication_token) %>
But I would like to make the following span the link that links to the above path:
<span class='edit-icon'> </span>
How do I do that ?
If I understand correctly, you want that span tag as the content of the anchor element for the link, right? In that case…