Skip to content

Commit 0fc846a

Browse files
committed
Removed superfluous JRoute alias
1 parent 22470de commit 0fc846a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/administrator/components/com_ccm/src/Controller/CmssController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// phpcs:enable PSR1.Files.SideEffects
1515

1616
use Joomla\CMS\MVC\Controller\ListController;
17-
use Joomla\CMS\Router\Route as JRoute;
17+
use Joomla\CMS\Router\Route;
1818
/**
1919
* CmssController class.
2020
*
@@ -26,6 +26,6 @@ public function add()
2626
{
2727
echo "Adding a new CMS item.\n";
2828
error_log("CmssController::add called");
29-
$this->setRedirect(JRoute::_('index.php?option=com_ccm&task=cmss.edit', false));
29+
$this->setRedirect(Route::_('index.php?option=com_ccm&task=cmss.edit', false));
3030
}
3131
}

0 commit comments

Comments
 (0)