<%= heading("Listing your subscriptions") %> <% @threads.each do |thread| %> <% end %>
<%= commontable_name(thread) %> <%= link_to 'Unsubscribe', polymorphic_path([:unsubscribe, thread.commontable, :comments]), :confirm => 'Are you sure you want to unsubscribe from ' + commontable_name(thread) + '?' %>