Fix render_not_found crash (from a Mojolicious update)

This commit is contained in:
Luc Didry
2018-01-15 19:51:22 +01:00
parent 799124a58d
commit bcb0710fde
+2 -2
View File
@@ -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;
}
}