Module: RenderSortableTreeHelper::Render

Defined in:
app/helpers/render_sortable_tree_helper.rb

Class Method Summary collapse

Class Method Details

.render_node(h, options) ⇒ Object


3
4
5
# File 'app/helpers/render_sortable_tree_helper.rb', line 3

def self.render_node(h, options)
  h.render("page", item: options[:node], children: options[:children], klass: options[:klass])
end