diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-20 00:09:03 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-20 00:09:03 +0000 |
commit | 52ac2cacfd048c17cdbe2a190a39d3d4ad945961 (patch) | |
tree | b511af3a80f7b934f335ca5273f9a0f98322327c /app/models/snippet.rb | |
parent | 6387405a06f0f2e8c38a4dc93af0f7f7b53eb332 (diff) | |
download | gitlab-ce-52ac2cacfd048c17cdbe2a190a39d3d4ad945961.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/snippet.rb')
-rw-r--r-- | app/models/snippet.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/snippet.rb b/app/models/snippet.rb index b3b3de21dee..b7f396681af 100644 --- a/app/models/snippet.rb +++ b/app/models/snippet.rb @@ -229,7 +229,7 @@ class Snippet < ApplicationRecord (public? && (title_changed? || content_changed?)) end - # snippers are the biggest sources of spam + # snippets are the biggest sources of spam override :allow_possible_spam? def allow_possible_spam? false |