Closed zorab47 closed 10 years ago
Allow users to define custom logic to find the roots of the tree to be rendered, while staying backward compatible.
ActiveAdmin.register TreeNode do sortable tree: true, roots_collection: proc { current_user.tree_nodes.roots } end
Allow users to define custom logic to find the roots of the tree to be rendered, while staying backward compatible.
Example