Add empty IssueCommonality module; include in Issue and MergeRequest
This commit is contained in:
parent
839757598b
commit
7a4c958882
3 changed files with 5 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
class Issue < ActiveRecord::Base
|
||||
include IssueCommonality
|
||||
include Upvote
|
||||
|
||||
acts_as_taggable_on :labels
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
require File.join(Rails.root, "app/models/commit")
|
||||
|
||||
class MergeRequest < ActiveRecord::Base
|
||||
include IssueCommonality
|
||||
include Upvote
|
||||
|
||||
BROKEN_DIFF = "--broken-diff"
|
||||
|
|
3
app/roles/issue_commonality.rb
Normal file
3
app/roles/issue_commonality.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Contains common functionality shared between Issues and MergeRequests
|
||||
module IssueCommonality
|
||||
end
|
Loading…
Reference in a new issue