Welcome to mirror list, hosted at ThFree Co, Russian Federation.

issuable_base_service.rb « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e3371ec3c1b7c60bd11970052cd627e8021bbbc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class IssuableBaseService < BaseService
  private

  def create_assignee_note(issuable)
    Note.create_assignee_change_note(
      issuable, issuable.project, current_user, issuable.assignee)
  end

  def create_milestone_note(issuable)
    Note.create_milestone_change_note(
      issuable, issuable.project, current_user, issuable.milestone)
  end
end