mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-08-05 16:33:10 +02:00
Fix render_not_found crash (from a Mojolicious update)
This commit is contained in:
@@ -234,7 +234,7 @@ sub delete {
|
||||
}
|
||||
},
|
||||
any => sub {
|
||||
shift->render_not_found;
|
||||
$c->helpers->reply->not_found;
|
||||
}
|
||||
);
|
||||
}
|
||||
@@ -620,7 +620,7 @@ sub short {
|
||||
return $c->redirect_to('/');
|
||||
} else {
|
||||
# Image never existed
|
||||
$c->render_not_found;
|
||||
$c->helpers->reply->not_found;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user