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
1b547f13
Commit
1b547f13
authored
Dec 16, 2019
by
mo khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move controller to projects path
parent
cd81e4ba
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
2 deletions
+1
-2
ee/app/controllers/projects/dependencies_controller.rb
ee/app/controllers/projects/dependencies_controller.rb
+0
-0
ee/app/views/projects/dependencies/dependencies/index.html.haml
.../views/projects/dependencies/dependencies/index.html.haml
+0
-0
ee/config/routes/project.rb
ee/config/routes/project.rb
+1
-2
ee/spec/controllers/projects/dependencies_controller_spec.rb
ee/spec/controllers/projects/dependencies_controller_spec.rb
+0
-0
No files found.
ee/app/controllers/projects/
security/
dependencies_controller.rb
→
ee/app/controllers/projects/dependencies_controller.rb
View file @
1b547f13
File moved
ee/app/views/projects/
security
/dependencies/index.html.haml
→
ee/app/views/projects/
dependencies
/dependencies/index.html.haml
View file @
1b547f13
File moved
ee/config/routes/project.rb
View file @
1b547f13
...
...
@@ -191,7 +191,6 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
resource
:dashboard
,
only:
[
:show
],
controller: :dashboard
resource
:configuration
,
only:
[
:show
],
controller: :configuration
resources
:dependencies
,
only:
[
:index
]
# We have to define both legacy and new routes for Vulnerability Findings
# because they are loaded upon application initialization and preloaded by
# web server.
...
...
@@ -211,7 +210,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
resources
:vulnerability_feedback
,
only:
[
:index
,
:create
,
:update
,
:destroy
],
constraints:
{
id:
/\d+/
}
resource
:dependencies
,
only:
[
:show
]
resource
s
:dependencies
,
only:
[
:index
]
# All new routes should go under /-/ scope.
# Look for scope '-' at the top of the file.
# rubocop: enable Cop/PutProjectRoutesUnderScope
...
...
ee/spec/controllers/projects/
security/
dependencies_controller_spec.rb
→
ee/spec/controllers/projects/dependencies_controller_spec.rb
View file @
1b547f13
File moved
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