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

personal_snippet.rb « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 299f1f7a63048f0f23d3c81943aa777c7d0601c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class PersonalSnippet < Snippet
  self.allow_legacy_sti_class = true

  include WithUploads

  def parent_user
    author
  end

  def skip_project_check?
    true
  end
end