summaryrefslogtreecommitdiff
path: root/app/models/snippet.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-20 00:09:03 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-20 00:09:03 +0000
commit52ac2cacfd048c17cdbe2a190a39d3d4ad945961 (patch)
treeb511af3a80f7b934f335ca5273f9a0f98322327c /app/models/snippet.rb
parent6387405a06f0f2e8c38a4dc93af0f7f7b53eb332 (diff)
downloadgitlab-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.rb2
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