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
edc49591
Commit
edc49591
authored
Dec 16, 2019
by
mo khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the security namespace
parent
1b547f13
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
ee/app/controllers/projects/dependencies_controller.rb
ee/app/controllers/projects/dependencies_controller.rb
+0
-2
ee/app/views/projects/dependencies/index.html.haml
ee/app/views/projects/dependencies/index.html.haml
+0
-0
ee/spec/controllers/projects/dependencies_controller_spec.rb
ee/spec/controllers/projects/dependencies_controller_spec.rb
+1
-1
No files found.
ee/app/controllers/projects/dependencies_controller.rb
View file @
edc49591
# frozen_string_literal: true
# frozen_string_literal: true
module
Projects
module
Projects
module
Security
class
DependenciesController
<
Projects
::
ApplicationController
class
DependenciesController
<
Projects
::
ApplicationController
before_action
:authorize_read_dependency_list!
before_action
:authorize_read_dependency_list!
...
@@ -84,5 +83,4 @@ module Projects
...
@@ -84,5 +83,4 @@ module Projects
::
Security
::
DependencyListService
.
new
(
pipeline:
pipeline
,
params:
query_params
)
::
Security
::
DependencyListService
.
new
(
pipeline:
pipeline
,
params:
query_params
)
end
end
end
end
end
end
end
ee/app/views/projects/dependencies/
dependencies/
index.html.haml
→
ee/app/views/projects/dependencies/index.html.haml
View file @
edc49591
File moved
ee/spec/controllers/projects/dependencies_controller_spec.rb
View file @
edc49591
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
require
'spec_helper'
require
'spec_helper'
describe
Projects
::
Security
::
DependenciesController
do
describe
Projects
::
DependenciesController
do
describe
'GET #index'
do
describe
'GET #index'
do
let_it_be
(
:developer
)
{
create
(
:user
)
}
let_it_be
(
:developer
)
{
create
(
:user
)
}
let_it_be
(
:guest
)
{
create
(
:user
)
}
let_it_be
(
:guest
)
{
create
(
:user
)
}
...
...
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