diff --git a/Controllers/RecipeController.php b/Controllers/RecipeController.php index 761a965..40be43f 100644 --- a/Controllers/RecipeController.php +++ b/Controllers/RecipeController.php @@ -6,13 +6,13 @@ final class RecipeController public function viewAction(Array $A_urlParams = null, Array $A_postParams = null) { if(count($A_urlParams)!=1){ - return View::show("common/404"); + return View::show("errors/404"); } $O_recipeModel = new RecipeModel(); $A_returnArray = $O_recipeModel->getFullRecipeWithComments($A_urlParams[0]); if ($A_returnArray === null) { - return View::show("common/404"); + return View::show("errors/404"); } View::show("recipe/view", $A_returnArray); diff --git a/Views/common/404.php b/Views/common/404.php deleted file mode 100644 index 0d247fb..0000000 --- a/Views/common/404.php +++ /dev/null @@ -1 +0,0 @@ -