Add empty IssueCommonality module; include in Issue and MergeRequest

This commit is contained in:
Robert Speicher 2012-08-08 21:26:56 -04:00
parent 839757598b
commit 7a4c958882
3 changed files with 5 additions and 0 deletions

View file

@ -1,4 +1,5 @@
class Issue < ActiveRecord::Base
include IssueCommonality
include Upvote
acts_as_taggable_on :labels

View file

@ -1,6 +1,7 @@
require File.join(Rails.root, "app/models/commit")
class MergeRequest < ActiveRecord::Base
include IssueCommonality
include Upvote
BROKEN_DIFF = "--broken-diff"

View file

@ -0,0 +1,3 @@
# Contains common functionality shared between Issues and MergeRequests
module IssueCommonality
end