lib/netzke/tree/base.rb in netzke-basepack-6.5.0.0.rc1 vs lib/netzke/tree/base.rb in netzke-basepack-6.5.0.0.rc2
- old
+ new
@@ -82,9 +82,12 @@
# Enables drag and drop in the tree.
#
# == Persisting nodes' expand/collapse state
#
# If the model includes the `expanded` DB field, the expand/collapse state will get stored in the DB.
+
+ autoload :Endpoints, 'netzke/tree/endpoints'
+
class Base < Netzke::Base
NODE_ATTRS = {
boolean: %w[leaf checked expanded expandable qtip qtitle],
string: %w[icon icon_cls href href_target qtip qtitle]
}