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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs