Skip to content

Commit 853f0b0

Browse files
Update privacy policy page
Use common dhil docs privacy page
1 parent b355a1c commit 853f0b0

File tree

4 files changed

+1
-87
lines changed

4 files changed

+1
-87
lines changed

config/packages/security.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ security:
4848
access_control:
4949
# Default controller stuff - open to the public
5050
- { path: ^%router.request_context.base_url%/$, roles: PUBLIC_ACCESS }
51-
- { path: ^%router.request_context.base_url%/privacy$, roles: PUBLIC_ACCESS }
5251

5352
# user controller stuff - open to the public
5453
- { path: ^%router.request_context.base_url%/request$, roles: PUBLIC_ACCESS }

src/Controller/DefaultController.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,4 @@ class DefaultController extends AbstractController implements PaginatorAwareInte
1818
public function index() : array {
1919
return [];
2020
}
21-
22-
#[Route(path: '/privacy', name: 'privacy')]
23-
#[Template]
24-
public function privacy() : void {}
2521
}

templates/base.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<b>Between The Digital</b>
7575
<br/>
7676
<a href="{{ asset('docs/sphinx/index.html') }}">Documentation</a> |
77-
<a href="{{ path('privacy') }}">Privacy</a> |
77+
<a href="https://docs.dhil.lib.sfu.ca/privacy.html" target="_blank">Privacy</a> |
7878
<a href="https://github.com/sfu-dhil/btd">GitHub</a>
7979
</div>
8080
</footer>

templates/default/privacy.html.twig

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)