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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
0a7d358e
Commit
0a7d358e
authored
May 26, 2020
by
Jarka Košanová
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move base supports_weight to Issuable
parent
4412bcc0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
app/models/concerns/issuable.rb
app/models/concerns/issuable.rb
+4
-0
ee/app/models/ee/epic.rb
ee/app/models/ee/epic.rb
+0
-4
ee/app/models/ee/merge_request.rb
ee/app/models/ee/merge_request.rb
+0
-4
No files found.
app/models/concerns/issuable.rb
View file @
0a7d358e
...
...
@@ -184,6 +184,10 @@ module Issuable
assignees
.
count
>
1
end
def
supports_weight?
false
end
private
def
description_max_length_for_new_records_is_valid
...
...
ee/app/models/ee/epic.rb
View file @
0a7d358e
...
...
@@ -240,10 +240,6 @@ module EE
nil
end
def
supports_weight?
false
end
def
upcoming?
start_date
&
.
future?
end
...
...
ee/app/models/ee/merge_request.rb
View file @
0a7d358e
...
...
@@ -124,10 +124,6 @@ module EE
project
.
feature_available?
(
:multiple_merge_request_assignees
)
end
def
supports_weight?
false
end
def
visible_blocking_merge_requests
(
user
)
Ability
.
merge_requests_readable_by_user
(
blocking_merge_requests
,
user
)
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