debian-mirror-gitlab/app/models/work_items/widgets/hierarchy.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
239 B
Ruby
Raw Normal View History

2022-07-23 23:45:48 +05:30
# 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
end
end
end
end