From fa07331503e162af425d6fcfb603d4a43a1ff294 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Sat, 27 Feb 2021 01:24:34 -0500 Subject: [PATCH] Add me and news routes --- www-swagg.pl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/www-swagg.pl b/www-swagg.pl index c899beb..2733595 100755 --- a/www-swagg.pl +++ b/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();