Add me and news routes
This commit is contained in:
parent
eb74988c1e
commit
fa07331503
12
www-swagg.pl
12
www-swagg.pl
|
@ -9,4 +9,16 @@ get '/' => sub {
|
|||
$c->render(fortune => $fortune)
|
||||
} => 'index';
|
||||
|
||||
get '/me' => sub {
|
||||
my ($c) = @_;
|
||||
|
||||
$c->render();
|
||||
};
|
||||
|
||||
get '/news' => sub {
|
||||
my ($c) = @_;
|
||||
|
||||
$c->render();
|
||||
};
|
||||
|
||||
app->start();
|
||||
|
|
Loading…
Reference in a new issue