coding style

This commit is contained in:
ludo
2024-02-22 19:35:51 +01:00
parent 7a33245c1e
commit 00fc978217
33 changed files with 54 additions and 93 deletions

View File

@@ -19,6 +19,7 @@ class ArticleController extends Controller
public function showBySlug($slug)
{
$id = Articles::getIDBySlug($slug);
return $id ? $this->show($id) : view('errors.404');
}