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
7e2a6709
Commit
7e2a6709
authored
Jan 29, 2019
by
Jasper Maes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix several ActionController::Parameters deprecations
parent
c441a155
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
ee/app/controllers/groups/epics_controller.rb
ee/app/controllers/groups/epics_controller.rb
+1
-1
ee/app/controllers/projects/managed_licenses_controller.rb
ee/app/controllers/projects/managed_licenses_controller.rb
+2
-2
ee/changelogs/unreleased/fix-actioncontroller-param-deprecations.yml
...gs/unreleased/fix-actioncontroller-param-deprecations.yml
+5
-0
No files found.
ee/app/controllers/groups/epics_controller.rb
View file @
7e2a6709
...
...
@@ -86,7 +86,7 @@ class Groups::EpicsController < Groups::ApplicationController
end
def
update_service
::
Epics
::
UpdateService
.
new
(
@group
,
current_user
,
epic_params
)
::
Epics
::
UpdateService
.
new
(
@group
,
current_user
,
epic_params
.
to_h
)
end
def
finder_type
...
...
ee/app/controllers/projects/managed_licenses_controller.rb
View file @
7e2a6709
...
...
@@ -29,7 +29,7 @@ class Projects::ManagedLicensesController < Projects::ApplicationController
result
=
SoftwareLicensePolicies
::
CreateService
.
new
(
@project
,
current_user
,
software_license_policies_params
software_license_policies_params
.
to_h
).
execute
if
result
[
:status
]
==
:success
...
...
@@ -52,7 +52,7 @@ class Projects::ManagedLicensesController < Projects::ApplicationController
result
=
SoftwareLicensePolicies
::
UpdateService
.
new
(
@project
,
current_user
,
software_license_policies_params
software_license_policies_params
.
to_h
).
execute
(
@software_license_policy
)
if
result
[
:status
]
==
:success
...
...
ee/changelogs/unreleased/fix-actioncontroller-param-deprecations.yml
0 → 100644
View file @
7e2a6709
---
title
:
Fix several ActionController::Parameters deprecations
merge_request
:
9347
author
:
Jasper Maes
type
:
other
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