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
e537b1ea
Commit
e537b1ea
authored
Dec 09, 2020
by
Eugenia Grieff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix authorize route to match Workhorse route
parent
296275d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/config/routes/project.rb
ee/config/routes/project.rb
+1
-1
ee/spec/requests/projects/requirements_management/requirements_controller_spec.rb
...s/requirements_management/requirements_controller_spec.rb
+1
-1
No files found.
ee/config/routes/project.rb
View file @
e537b1ea
...
...
@@ -15,7 +15,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
resources
:requirements
,
only:
[
:index
]
do
collection
do
post
:import_csv
post
:authorize
post
'import_csv/authorize'
,
to:
'requirements#authorize'
end
end
end
...
...
ee/spec/requests/projects/requirements_management/requirements_controller_spec.rb
View file @
e537b1ea
...
...
@@ -115,7 +115,7 @@ RSpec.describe Projects::RequirementsManagement::RequirementsController do
describe
'POST #authorize'
do
subject
do
post
authorize_project_requirements_management_requirements_path
(
project
),
post
import_csv_
authorize_project_requirements_management_requirements_path
(
project
),
headers:
workhorse_headers
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