Clean up
This commit is contained in:
parent
051ff9a912
commit
2d9bfe76c5
|
@ -93,9 +93,8 @@ get '/ula6' => sub {
|
|||
# Default route
|
||||
get '/:route' => [route => [qw{die me news}]] => sub {
|
||||
my ($c) = @_;
|
||||
my $route = $c->stash('route');
|
||||
|
||||
$c->render(template => $route);
|
||||
$c->render(template => $c->stash('route'));
|
||||
};
|
||||
|
||||
# Send it
|
||||
|
|
Loading…
Reference in a new issue