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: 0915278fb656e3dc587725f087f3ec00ca8e6afe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class PersonalSnippet < Snippet
  include WithUploads

  def parent_user
    author
  end

  def skip_project_check?
    true
  end
end