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

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

16 lines
293 B
Ruby
Raw Normal View History

2022-07-23 23:45:48 +05:30
# frozen_string_literal: true
module WorkItems
module Widgets
class Description < Base
2022-10-11 01:57:18 +05:30
delegate :description, :edited?, :last_edited_at, to: :work_item
def last_edited_by
return unless work_item.edited?
work_item.last_edited_by
end
2022-07-23 23:45:48 +05:30
end
end
end