Added ability to upload a receipt from the user page

This commit is contained in:
Tom Bloor 2017-04-20 17:33:59 +01:00
parent 2cc670b58f
commit d1add8ee7c
6 changed files with 208 additions and 24 deletions

View file

@ -114,6 +114,8 @@ sub startup {
$user_routes->get('/home')->to('root#home');
$user_routes->post('/portal/upload')->to('portal#post_upload');
$self->hook( before_dispatch => sub {
my $self = shift;