summaryrefslogtreecommitdiff
path: root/lib/Travelynx.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.pm
parent515754b9b7778f270ceb3e7cfc9e16176ae3795a (diff)
Add terms of service andpoint; reference it from registration and login forms
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index f8ace80..f9199a5 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -2354,6 +2354,7 @@ sub startup {
$r->get('/changelog')->to('static#changelog');
$r->get('/impressum')->to('static#imprint');
$r->get('/imprint')->to('static#imprint');
+ $r->get('/tos')->to('static#tos');
$r->get('/legend')->to('static#legend');
$r->get('/offline.html')->to('static#offline');
$r->get('/api/v1/:user_action/:token')->to('api#get_v1');