diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-02 11:29:43 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-02 11:29:43 +0200 |
commit | be1e5dda23b5bac86898ac548ca1ecd2e6a3fb08 (patch) | |
tree | 2b6b13448ba9349ae8fd15e6a56aacc9dd0c7ac4 /lib/Travelynx.pm | |
parent | 0ef0024e35fc51966bd68b84cf1eb7b8003c1209 (diff) |
Public API documentation
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-x | lib/Travelynx.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 8e10896..0ded6bb 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1719,6 +1719,7 @@ sub startup { $r->get('/')->to('traveling#homepage'); $r->get('/about')->to('static#about'); + $r->get('/api')->to('api#documentation'); $r->get('/impressum')->to('static#imprint'); $r->get('/imprint')->to('static#imprint'); $r->get('/api/v0/:user_action/:token')->to('api#get_v0'); |