summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Api.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Controller/Api.pm')
-rwxr-xr-xlib/Travelynx/Controller/Api.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Travelynx/Controller/Api.pm b/lib/Travelynx/Controller/Api.pm
index a0b8e07..889a0e3 100755
--- a/lib/Travelynx/Controller/Api.pm
+++ b/lib/Travelynx/Controller/Api.pm
@@ -8,6 +8,12 @@ sub make_token {
return create_uuid_as_string(UUID_V4);
}
+sub documentation {
+ my ($self) = @_;
+
+ $self->render('api_documentation');
+}
+
sub get_v0 {
my ($self) = @_;