commit | 5d1ffb419806a738ee58276edff2132c35bda00d | [log] [tgz] |
---|---|---|
author | Nils Diewald <nils@diewald-online.de> | Wed May 21 17:45:34 2014 +0000 |
committer | Nils Diewald <nils@diewald-online.de> | Wed May 21 17:45:34 2014 +0000 |
tree | 10deaab2c17d329f464c9ebb6d62f32bfa9790e2 |
Slim frontend for API and serialization tests
diff --git a/lib/Korap/Search.pm b/lib/Korap/Search.pm new file mode 100644 index 0000000..e548ace --- /dev/null +++ b/lib/Korap/Search.pm
@@ -0,0 +1,14 @@ +package Korap::Search; +use Mojo::Base 'Mojolicious::Controller'; + +# This action will render a template +sub remote { + my $c = shift; + + # Render template "example/welcome.html.ep" with message + $c->render(template => 'search'); +}; + + + +1;