Displaying 1 result from an estimated 1 matches for "my_sort_valu".
Did you mean:
my_sort_value
2007 Mar 16
1
sort_link_helper and cross-controller partials
...hod" on
Controller2. Controller2 does what is expected from it and does a render
:partial => "shared/table" and the table is correctly displayed.
However, the links generated by sort_link_helper change to the format of
"/controller2/mymethod?aknownname=111802211&sort=my_sort_value"
instead of the expected (or desired)
"/controller1/list?sort=my_sort_value".
The corresponding method in Controller2 looks like this:
def mymethod
# ... some code
if xhr?
render :partial => "shared/partial", :layout => false
end
end
How can I tell the r...