Skip to content

Commit

Permalink
More updates to Outline (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
w00fz committed May 14, 2015
1 parent dce419a commit e705370
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
6 changes: 3 additions & 3 deletions src/platforms/joomla/Framework/Configurations.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand All @@ -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;
Expand All @@ -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 {
Expand Down

0 comments on commit e705370

Please sign in to comment.