Add Terms and Conditions page and link it from registration/footer
Adds a /terms page and links it from the site footer and from the "I agree to the Terms and Conditions" checkbox on registration, which previously didn't point anywhere.
This commit is contained in:
@@ -35,6 +35,13 @@ final class HomeController extends AbstractController
|
||||
'website/home/help_wanted.html.twig');
|
||||
}
|
||||
|
||||
#[Route(path: '/terms', name: 'website_terms')]
|
||||
public function terms(): Response
|
||||
{
|
||||
return $this->render(
|
||||
'website/home/terms.html.twig');
|
||||
}
|
||||
|
||||
#[Route(path: '/donation/cancel', name: 'website_donation_cancel')]
|
||||
public function donationCancel(): Response
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user