commit | b22abdfe6127f7adf0dd9bbaa3f21b9594927ba9 | [log] [tgz] |
---|---|---|
author | Nils Diewald <nils@diewald-online.de> | Wed Jun 18 22:57:50 2014 +0000 |
committer | Nils Diewald <nils@diewald-online.de> | Wed Jun 18 22:57:50 2014 +0000 |
tree | 84bd20a88c8d7648dbd162a501e6122921898847 | |
parent | 0d2dcc8c1f950463b2f1a47f8cbfa96dfc33ec2b [diff] [blame] |
Minor changes to test svn on korap2
diff --git a/lib/Korap/Tutorial.pm b/lib/Korap/Tutorial.pm index 224190f..2b54e77 100644 --- a/lib/Korap/Tutorial.pm +++ b/lib/Korap/Tutorial.pm
@@ -3,7 +3,13 @@ sub page { my $c = shift; - $c->layout('snippet'); + + if ($c->param('snippet')) { + $c->layout('snippet'); + } + else { + $c->layout('default'); + }; $c->title('KorAP'); my $page = $c->stash('tutorial');