Files
gitlabhq/app/models/spam_report.rb
T
Stan HuandDouglas Barbosa Alexandre 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

6 lines
96 B
Ruby

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