Add an account page.

This commit is contained in:
barnold 2022-09-15 08:55:57 +01:00
parent bce8bbeb1c
commit a2ca675bca
2 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,7 @@ sub startup ($self) {
}
);
$auth->get('/book')->to('book#index');
$auth->get('/account')->to('auth#account');
}
1;

View File

@ -0,0 +1,5 @@
% layout 'default';
% title 'Account';
<h1><%= session 'logname' %>'s account on MyApp</h1>
Account details here.