summaryrefslogtreecommitdiff
path: root/app/models/personal_snippet.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/personal_snippet.rb')
-rw-r--r--app/models/personal_snippet.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/personal_snippet.rb b/app/models/personal_snippet.rb
index 197795dccfe..0915278fb65 100644
--- a/app/models/personal_snippet.rb
+++ b/app/models/personal_snippet.rb
@@ -3,6 +3,10 @@
class PersonalSnippet < Snippet
include WithUploads
+ def parent_user
+ author
+ end
+
def skip_project_check?
true
end