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
a733cd09
Commit
a733cd09
authored
Aug 04, 2021
by
Savas Vedova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update documentation path
parent
41862d7b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/app/views/projects/security/policies/show.html.haml
ee/app/views/projects/security/policies/show.html.haml
+1
-1
ee/spec/views/projects/security/policies/show.html.haml_spec.rb
...c/views/projects/security/policies/show.html.haml_spec.rb
+1
-1
No files found.
ee/app/views/projects/security/policies/show.html.haml
View file @
a733cd09
...
...
@@ -3,6 +3,6 @@
#js-security-policies-list
{
data:
{
assigned_policy_project:
assigned_policy_project
(
project
).
to_json
,
disable_security_policy_project:
disable_security_policy_project
.
to_s
,
documentation_path:
help_page_path
(
'user/
project/clusters/protect/container_network_security/quick_start_guide
'
),
documentation_path:
help_page_path
(
'user/
application_security/policies/index.md
'
),
new_policy_path:
new_project_threat_monitoring_policy_path
(
project
),
project_path:
project
.
full_path
}
}
ee/spec/views/projects/security/policies/show.html.haml_spec.rb
View file @
a733cd09
...
...
@@ -21,6 +21,6 @@ RSpec.describe "projects/security/policies/show", type: :view do
end
it
'passes documentation URL'
do
expect
(
rendered
).
to
include
'/help/user/
project/clusters/protect/container_network_security/quick_start_guide
'
expect
(
rendered
).
to
include
'/help/user/
application_security/policies/index.md
'
end
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