Ajax reorder

Hi,

I have this code:

<%= sortable_element “item-list-#{@unique_id}”,
:complete => visual_effect(:highlight, “item-list-#{@unique_id}”),
:url => { :action => “order” } %>

And an order method in my controller. It doesn’t seem to ever fire that
event when I reorder though. The visual stuff works, but it never gets
into the order method.

I’m just doing this in order to test it:

def order

redirect_to :controller => “login”

end

I never get the redirect. Any help would be greatly appreciated.

Thanks.