diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Travelynx.pm | 1 | ||||
-rw-r--r-- | lib/Travelynx/Controller/Static.pm | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 7829d2a..48fb22b 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1723,6 +1723,7 @@ sub startup { $r->get('/changelog')->to('static#changelog'); $r->get('/impressum')->to('static#imprint'); $r->get('/imprint')->to('static#imprint'); + $r->get('/offline')->to('static#offline'); $r->get('/api/v0/:user_action/:token')->to('api#get_v0'); $r->get('/api/v1/:user_action/:token')->to('api#get_v1'); $r->get('/login')->to('account#login_form'); diff --git a/lib/Travelynx/Controller/Static.pm b/lib/Travelynx/Controller/Static.pm index e0d56f2..2c35f1b 100644 --- a/lib/Travelynx/Controller/Static.pm +++ b/lib/Travelynx/Controller/Static.pm @@ -23,4 +23,10 @@ sub imprint { $self->render('imprint'); } +sub offline { + my ($self) = @_; + + $self->render('offline'); +} + 1; |