Clean up++
This commit is contained in:
parent
f02ebbae63
commit
391501ebcf
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# Daniel Bowling <swaggboi@slackware.uk>
|
# Daniel Bowling <swaggboi@slackware.uk>
|
||||||
|
@ -93,7 +94,7 @@ get '/ula6' => sub {
|
||||||
|
|
||||||
# Default route
|
# Default route
|
||||||
get '/:route' => [route => [qw{die me news}]] => sub {
|
get '/:route' => [route => [qw{die me news}]] => sub {
|
||||||
my ($c) = @_;
|
my ($c) = @_;
|
||||||
|
|
||||||
$c->render(template => $c->stash('route'));
|
$c->render(template => $c->stash('route'));
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user