commit | 4af3f0bb67b94f55b97ddd712140430b3c0c427a | [log] [tgz] |
---|---|---|
author | Nils Diewald <nils@diewald-online.de> | Wed Jun 25 01:43:17 2014 +0000 |
committer | Nils Diewald <nils@diewald-online.de> | Wed Jun 25 01:43:17 2014 +0000 |
tree | 3ac69a3ce98d539cb5bebb9d753db76e2ce48bdf | |
parent | e192230ede65a1a54329dbd39af3aea09fd5c289 [diff] [blame] |
Minor changes
diff --git a/lib/Korap/Tutorial.pm b/lib/Korap/Tutorial.pm index 2b54e77..3da233a 100644 --- a/lib/Korap/Tutorial.pm +++ b/lib/Korap/Tutorial.pm
@@ -4,8 +4,9 @@ sub page { my $c = shift; - if ($c->param('snippet')) { + if ($c->param('embedded')) { $c->layout('snippet'); + $c->stash(embedded => 1); } else { $c->layout('default');