Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/development/spam_protection_and_captcha/model_and_services.md')
-rw-r--r--doc/development/spam_protection_and_captcha/model_and_services.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/development/spam_protection_and_captcha/model_and_services.md b/doc/development/spam_protection_and_captcha/model_and_services.md
index 9c5d389a2f5..2c7ec8c3f50 100644
--- a/doc/development/spam_protection_and_captcha/model_and_services.md
+++ b/doc/development/spam_protection_and_captcha/model_and_services.md
@@ -35,9 +35,9 @@ To do this:
designate which fields to consider the "`title`" or "`description`". For example,
this line designates the `content` field as the `description`:
- ```ruby
- attr_spammable :content, spam_description: true
- ```
+ ```ruby
+ attr_spammable :content, spam_description: true
+ ```
1. Add a `#check_for_spam?` method implementation: