Closed zorab47 closed 10 years ago
Fix to prevent undefined method "sort_admin_(.*)_path" when resource is nested beneath another. Generate the URL for the current resource's :sort action with a simpler call to url_for(action: :sort).
undefined method "sort_admin_(.*)_path"
:sort
url_for(action: :sort)
wow nice trick!
EDIT: It works also with ActiveAdmin belongs_to.
Fix to prevent
undefined method "sort_admin_(.*)_path"
when resource is nested beneath another. Generate the URL for the current resource's:sort
action with a simpler call tourl_for(action: :sort)
.