app/presenters/tree_builder_action.rb
class TreeBuilderAction < TreeBuilder
private
def tree_init_options
{:full_ids => true}
end
# level 0 - root
def root_options
{
:text => t = _("All Actions"),
:tooltip => t
}
end
# level 1 - actions
def x_get_tree_roots
count_only_or_objects(false, MiqAction.all, :description)
end
end