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.

14 lines
276 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
delegate :description, to: :work_item
def update(params:)
work_item.description = params[:description] if params&.key?(:description)
end
end
end
end