gitlab-org--gitlab-foss/app/models/spam_report.rb
Stan Hu d20e75a8d8 Support Akismet spam checking for creation of issues via API
Currently any spam detected by Akismet by non-members via API will be logged
in a separate table in the admin page.

Closes #5612
2016-02-02 11:25:44 -02:00

5 lines
96 B
Ruby

class SpamReport < ActiveRecord::Base
belongs_to :user
validates :user, presence: true
end