commit | 2329e1d7f8a89a7eed5e40c91311c4ccea78776c | [log] [tgz] |
---|---|---|
author | Nils Diewald <nils@diewald-online.de> | Thu Jun 12 16:07:57 2014 +0000 |
committer | Nils Diewald <nils@diewald-online.de> | Thu Jun 12 16:07:57 2014 +0000 |
tree | 39d52ed177892be450374a56e839304a35a4611f | |
parent | 02df991ec14564274035c1dbb0d64bb0db406bdc [diff] [blame] |
Deployment preparation for testbed
diff --git a/lib/Korap/Tutorial.pm b/lib/Korap/Tutorial.pm new file mode 100644 index 0000000..224190f --- /dev/null +++ b/lib/Korap/Tutorial.pm
@@ -0,0 +1,17 @@ +package Korap::Tutorial; +use Mojo::Base 'Mojolicious::Controller'; + +sub page { + my $c = shift; + $c->layout('snippet'); + $c->title('KorAP'); + + my $page = $c->stash('tutorial'); + + $c->render(template => 'tutorial'); +}; + +1; + + +__END__