• Robert Speicher's avatar
    Consolidate functionality shared between Issue and MergeRequest · f36f0dac
    Robert Speicher authored
    Any associations, validations, delegates, scopes and methods that
    were exactly the same in both Issue and MergeRequest models have been
    moved to a new IssueCommonality module (role) that gets included by each
    class.
    
    There was actually quite a bit of duplication, because MergeRequests are
    basically just specialized Issues.
    f36f0dac
issue_commonality.rb 1.17 KB