Commit 7a4c95888225bf465187f9a186fb5373e8405a5f

Authored by Robert Speicher
1 parent 83975759

Add empty IssueCommonality module; include in Issue and MergeRequest

app/models/issue.rb
1 1 class Issue < ActiveRecord::Base
  2 + include IssueCommonality
2 3 include Upvote
3 4  
4 5 acts_as_taggable_on :labels
... ...
app/models/merge_request.rb
1 1 require File.join(Rails.root, "app/models/commit")
2 2  
3 3 class MergeRequest < ActiveRecord::Base
  4 + include IssueCommonality
4 5 include Upvote
5 6  
6 7 BROKEN_DIFF = "--broken-diff"
... ...
app/roles/issue_commonality.rb 0 → 100644
... ... @@ -0,0 +1,3 @@
  1 +# Contains common functionality shared between Issues and MergeRequests
  2 +module IssueCommonality
  3 +end
... ...