diff options
author | Robert Speicher <rspeicher@gmail.com> | 2012-08-08 21:40:57 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2012-08-08 21:44:33 -0400 |
commit | f36f0dac9d2a009f29d2253dcd7c66d5a46ffd56 (patch) | |
tree | 60dd3e641ce7fc44dc7283f8a1e3732a9a0aedf0 /app/models/commit.rb | |
parent | 7a4c95888225bf465187f9a186fb5373e8405a5f (diff) | |
download | gitlab-ce-f36f0dac9d2a009f29d2253dcd7c66d5a46ffd56.tar.gz |
Consolidate functionality shared between Issue and MergeRequest
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.
Diffstat (limited to 'app/models/commit.rb')
0 files changed, 0 insertions, 0 deletions