diff --git a/src/classes/Gantry/Admin/Controller/Html/Configurations.php b/src/classes/Gantry/Admin/Controller/Html/Configurations.php index a9e636f18..4e7e7b945 100644 --- a/src/classes/Gantry/Admin/Controller/Html/Configurations.php +++ b/src/classes/Gantry/Admin/Controller/Html/Configurations.php @@ -168,7 +168,7 @@ protected function executeForward($resource, $method = 'GET', $path, $params = [ { $class = '\\Gantry\\Admin\\Controller\\Html\\' . strtr(ucwords(strtr($resource, '/', ' ')), ' ', '\\'); if (!class_exists($class)) { - throw new \RuntimeException('Configuration not found', 404); + throw new \RuntimeException('Outline not found', 404); } /** @var HtmlController $controller */ diff --git a/src/platforms/joomla/Framework/Configurations.php b/src/platforms/joomla/Framework/Configurations.php index a8eb52757..3c6c8ca26 100644 --- a/src/platforms/joomla/Framework/Configurations.php +++ b/src/platforms/joomla/Framework/Configurations.php @@ -100,7 +100,7 @@ public function duplicate($id) $item->load($id); if (!$item->id) { - throw new \RuntimeException('Configuration not found', 404); + throw new \RuntimeException('Outline not found', 404); } $pks = [$id]; @@ -118,7 +118,7 @@ public function rename($id, $title) $item->load($id); if (!$item->id) { - throw new \RuntimeException('Configuration not found', 404); + throw new \RuntimeException('Outline not found', 404); } $item->title = $title; @@ -140,7 +140,7 @@ public function delete($id) $item->load($id); if (!$item->id) { - throw new \RuntimeException('Configuration not found', 404); + throw new \RuntimeException('Outline not found', 404); } try {