summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Static.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-10-16 03:05:34 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-10-16 03:05:34 +0200
commit1e243653241866a6a3e43d39cdbdb504f2467ca6 (patch)
tree5652270bc715fbba44cd84c2aaab6210c2947106 /lib/Travelynx/Controller/Static.pm
parent515754b9b7778f270ceb3e7cfc9e16176ae3795a (diff)
Add terms of service andpoint; reference it from registration and login forms
Diffstat (limited to 'lib/Travelynx/Controller/Static.pm')
-rw-r--r--lib/Travelynx/Controller/Static.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Travelynx/Controller/Static.pm b/lib/Travelynx/Controller/Static.pm
index 04c2d0f..bcd6fda 100644
--- a/lib/Travelynx/Controller/Static.pm
+++ b/lib/Travelynx/Controller/Static.pm
@@ -35,4 +35,10 @@ sub offline {
$self->render('offline');
}
+sub tos {
+ my ($self) = @_;
+
+ $self->render('terms-of-service');
+}
+
1;