Commit 7a4c9588 authored by Robert Speicher's avatar Robert Speicher

Add empty IssueCommonality module; include in Issue and MergeRequest

parent 83975759
class Issue < ActiveRecord::Base class Issue < ActiveRecord::Base
include IssueCommonality
include Upvote include Upvote
acts_as_taggable_on :labels acts_as_taggable_on :labels
......
require File.join(Rails.root, "app/models/commit") require File.join(Rails.root, "app/models/commit")
class MergeRequest < ActiveRecord::Base class MergeRequest < ActiveRecord::Base
include IssueCommonality
include Upvote include Upvote
BROKEN_DIFF = "--broken-diff" BROKEN_DIFF = "--broken-diff"
......
# Contains common functionality shared between Issues and MergeRequests
module IssueCommonality
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment