Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
15464516
Commit
15464516
authored
Mar 23, 2017
by
http://jneen.net/
Committed by
Felipe Artur
Apr 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
force spam checks for support-bot issues
parent
020d1636
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
app/models/ee/issue.rb
app/models/ee/issue.rb
+10
-0
app/models/issue.rb
app/models/issue.rb
+2
-0
No files found.
app/models/ee/issue.rb
0 → 100644
View file @
15464516
module
EE
module
Issue
# override
def
check_for_spam?
return
true
if
author
.
support_bot?
super
end
end
end
app/models/issue.rb
View file @
15464516
require
'carrierwave/orm/activerecord'
class
Issue
<
ActiveRecord
::
Base
prepend
EE
::
Issue
include
InternalId
include
Issuable
include
Referable
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment