debian-mirror-gitlab/app/models/personal_snippet.rb

14 lines
167 B
Ruby
Raw Normal View History

2018-11-18 11:00:15 +05:30
# frozen_string_literal: true
2014-09-02 18:07:02 +05:30
class PersonalSnippet < Snippet
2018-11-08 19:23:39 +05:30
include WithUploads
2020-05-24 23:13:21 +05:30
2020-10-24 23:57:45 +05:30
def parent_user
author
end
2020-05-24 23:13:21 +05:30
def skip_project_check?
true
end
2014-09-02 18:07:02 +05:30
end