summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Profile.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Controller/Profile.pm')
-rwxr-xr-xlib/Travelynx/Controller/Profile.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Travelynx/Controller/Profile.pm b/lib/Travelynx/Controller/Profile.pm
index b11dd71..1e29748 100755
--- a/lib/Travelynx/Controller/Profile.pm
+++ b/lib/Travelynx/Controller/Profile.pm
@@ -66,7 +66,7 @@ sub profile {
my $user = $self->users->get_privacy_by( name => $name );
if ( not $user ) {
- $self->render('not_found');
+ $self->render( 'not_found', status => 404 );
return;
}
@@ -437,11 +437,11 @@ sub user_status {
"/p/${name}/j/$journey->{id}?token=${token}-${ts}");
}
else {
- $self->render('not_found');
+ $self->render( 'not_found', status => 404 );
}
return;
}
- $self->render('not_found');
+ $self->render( 'not_found', status => 404 );
return;
}
@@ -550,7 +550,7 @@ sub status_card {
delete $self->stash->{layout};
if ( not $user ) {
- $self->render('not_found');
+ $self->render( 'not_found', status => 404 );
return;
}