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
3459b6aa
Commit
3459b6aa
authored
Mar 03, 2018
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move multiple_issue_boards method from namespace model to group model
parent
72c0431d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
app/assets/javascripts/boards/components/board_new_issue.vue
app/assets/javascripts/boards/components/board_new_issue.vue
+0
-1
config/routes/group.rb
config/routes/group.rb
+0
-1
ee/app/models/ee/group.rb
ee/app/models/ee/group.rb
+6
-0
ee/app/models/ee/namespace.rb
ee/app/models/ee/namespace.rb
+0
-5
No files found.
app/assets/javascripts/boards/components/board_new_issue.vue
View file @
3459b6aa
...
...
@@ -140,4 +140,3 @@ export default {
</div>
</div>
</
template
>
config/routes/group.rb
View file @
3459b6aa
...
...
@@ -80,7 +80,6 @@ constraints(GroupUrlConstrainer.new) do
end
resources
:billings
,
only:
[
:index
]
resources
:epics
do
member
do
get
:realtime_changes
...
...
ee/app/models/ee/group.rb
View file @
3459b6aa
...
...
@@ -5,6 +5,7 @@ module EE
# and be included in the `Group` model
module
Group
extend
ActiveSupport
::
Concern
extend
::
Gitlab
::
Utils
::
Override
included
do
has_many
:epics
...
...
@@ -61,5 +62,10 @@ module EE
def
project_creation_level
super
||
::
Gitlab
::
CurrentSettings
.
default_project_creation
end
override
:multiple_issue_boards_available?
def
multiple_issue_boards_available?
feature_available?
(
:multiple_group_issue_boards
)
end
end
end
ee/app/models/ee/namespace.rb
View file @
3459b6aa
...
...
@@ -160,11 +160,6 @@ module EE
actual_plan
&
.
pipeline_size_limit
.
to_i
end
override
:multiple_issue_boards_available?
def
multiple_issue_boards_available?
feature_available?
(
:multiple_group_issue_boards
)
end
private
def
validate_plan_name
...
...
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