Commit edc49591 authored by mo khan's avatar mo khan

Remove the security namespace

parent 1b547f13
# 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
...@@ -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) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment