Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
7a4c9588
Commit
7a4c9588
authored
Aug 08, 2012
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add empty IssueCommonality module; include in Issue and MergeRequest
parent
83975759
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
app/models/issue.rb
app/models/issue.rb
+1
-0
app/models/merge_request.rb
app/models/merge_request.rb
+1
-0
app/roles/issue_commonality.rb
app/roles/issue_commonality.rb
+3
-0
No files found.
app/models/issue.rb
View file @
7a4c9588
class
Issue
<
ActiveRecord
::
Base
include
IssueCommonality
include
Upvote
acts_as_taggable_on
:labels
...
...
app/models/merge_request.rb
View file @
7a4c9588
require
File
.
join
(
Rails
.
root
,
"app/models/commit"
)
class
MergeRequest
<
ActiveRecord
::
Base
include
IssueCommonality
include
Upvote
BROKEN_DIFF
=
"--broken-diff"
...
...
app/roles/issue_commonality.rb
0 → 100644
View file @
7a4c9588
# Contains common functionality shared between Issues and MergeRequests
module
IssueCommonality
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment