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
02040344
Commit
02040344
authored
Aug 27, 2019
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix list params
parent
c597504a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
app/controllers/boards/lists_controller.rb
app/controllers/boards/lists_controller.rb
+5
-1
ee/app/controllers/ee/boards/lists_controller.rb
ee/app/controllers/ee/boards/lists_controller.rb
+2
-2
No files found.
app/controllers/boards/lists_controller.rb
View file @
02040344
...
...
@@ -60,8 +60,12 @@ module Boards
private
def
list_creation_attrs
%i[label_id]
end
def
create_list_params
params
.
require
(
:list
).
permit
(
:label_id
)
params
.
require
(
:list
).
permit
(
list_creation_attrs
)
end
def
update_list_params
...
...
ee/app/controllers/ee/boards/lists_controller.rb
View file @
02040344
...
...
@@ -5,8 +5,8 @@ module EE
module
ListsController
extend
::
Gitlab
::
Utils
::
Override
override
:
create_list_param
s
def
create_list_param
s
override
:
list_creation_attr
s
def
list_creation_attr
s
super
+
%i[assignee_id milestone_id]
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