degrading link_to_remote

I've done this before, here is an example:

<%= link_to_remote s.name, {:url => {:action => "view", :id => s}},
{:href => url_for(:action => "index", :id => s)} %>

Note the extra braces to separate which hash is which. Actually I
don't think the braces arount :href are necessary, but I'm leaving them
because I know this works because it's cut and paste from an actual
app.

Josh Kieschnick wrote: