Activate On-demand Scans nav item

parent 43a968e2
...@@ -149,6 +149,8 @@ module EE ...@@ -149,6 +149,8 @@ module EE
projects/security/vulnerabilities#show projects/security/vulnerabilities#show
projects/security/dashboard#index projects/security/dashboard#index
projects/on_demand_scans#index projects/on_demand_scans#index
projects/dast_profiles#index
projects/dast_site_profiles#new
projects/dependencies#index projects/dependencies#index
projects/licenses#index projects/licenses#index
projects/threat_monitoring#show projects/threat_monitoring#show
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
%span= _('Security Dashboard') %span= _('Security Dashboard')
- if project_nav_tab?(:on_demand_scans) - if project_nav_tab?(:on_demand_scans)
= nav_link(path: ['projects/on_demand_scans#index']) do = nav_link(path: ['projects/on_demand_scans#index', 'projects/dast_profiles#index', 'projects/dast_site_profiles#new']) do
= link_to project_on_demand_scans_path(@project), title: s_('OnDemandScans|On-demand Scans'), data: { qa_selector: 'on_demand_scans_link' } do = link_to project_on_demand_scans_path(@project), title: s_('OnDemandScans|On-demand Scans'), data: { qa_selector: 'on_demand_scans_link' } do
%span= s_('OnDemandScans|On-demand Scans') %span= s_('OnDemandScans|On-demand Scans')
......
...@@ -146,6 +146,8 @@ RSpec.describe ProjectsHelper do ...@@ -146,6 +146,8 @@ RSpec.describe ProjectsHelper do
projects/security/vulnerabilities#show projects/security/vulnerabilities#show
projects/security/dashboard#index projects/security/dashboard#index
projects/on_demand_scans#index projects/on_demand_scans#index
projects/dast_profiles#index
projects/dast_site_profiles#new
projects/dependencies#index projects/dependencies#index
projects/licenses#index projects/licenses#index
projects/threat_monitoring#show projects/threat_monitoring#show
......
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