Modify capitalization of default navigation link (#14849)

Changing `Terms of use` to `Terms of Use`

This has been bothering for me a while, and it's now consistent with `Code of Conduct` (which is not `Code of conduct` ) capitalization-wise
This commit is contained in:
Peter Frank 2021-10-01 06:42:17 -07:00 committed by GitHub
parent 0715b042b5
commit 16478a1b9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ namespace :navigation_links do
section: :other,
)
NavigationLink.where(url: "/terms").first_or_create(
name: "Terms of use",
name: "Terms of Use",
url: URL.url("terms"),
icon: look_icon,
display_only_when_signed_in: false,
@ -150,7 +150,7 @@ namespace :navigation_links do
section: :other,
)
NavigationLink.where(url: "#{base_url}/terms").first_or_create(
name: "Terms of use",
name: "Terms of Use",
icon: look_icon,
display_only_when_signed_in: false,
position: 2,