| commit | 02c0ff2c87101f3238ab455fa37452fda159ef2d | [log] [tgz] |
|---|---|---|
| author | Akron <nils@diewald-online.de> | Thu Nov 24 17:58:34 2016 +0100 |
| committer | Akron <nils@diewald-online.de> | Thu Nov 24 17:58:34 2016 +0100 |
| tree | 0d8a65f7f5616e8bc46f2e51e707fe3dfeb6a44c | |
| parent | 944091b7280124cbb647c737d70b95d83fae236e [diff] |
Added experimental Web-API
diff --git a/lib/Krawfish/Controller/Index.pm b/lib/Krawfish/Controller/Index.pm new file mode 100644 index 0000000..6964305 --- /dev/null +++ b/lib/Krawfish/Controller/Index.pm
@@ -0,0 +1,12 @@ +package Krawfish::Controller::Index; +use Mojo::Base 'Mojolicious::Controller'; +use strict; +use warnings; + +sub add { + my $c = shift; + my $kq = $c->koral->error(000, 'Index creation not yet implemented'); + $c->render(json => $kq); +}; + +1;