mirror of
https://github.com/derf/travelynx
synced 2025-03-02 06:07:10 +00:00
Profile#user_status: return 404 if the user does not exist
This commit is contained in:
parent
dadb94a473
commit
b3f36b750a
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ sub user_status {
|
|||
my $user = $self->users->get_privacy_by( name => $name );
|
||||
|
||||
if ( not $user ) {
|
||||
$self->render('not_found');
|
||||
$self->render( 'not_found', status => 404 );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue