debian-mirror-gitlab/app/models/work_items/widgets/description.rb
2022-10-11 01:57:18 +05:30

15 lines
293 B
Ruby

# frozen_string_literal: true
module WorkItems
module Widgets
class Description < Base
delegate :description, :edited?, :last_edited_at, to: :work_item
def last_edited_by
return unless work_item.edited?
work_item.last_edited_by
end
end
end
end