debian-mirror-gitlab/app/models/work_items/widgets/hierarchy.rb
2023-04-23 21:23:45 +05:30

15 lines
260 B
Ruby

# frozen_string_literal: true
module WorkItems
module Widgets
class Hierarchy < Base
def parent
work_item.work_item_parent
end
def children
work_item.work_item_children_by_relative_position
end
end
end
end