diff --git a/classes/Tools.php b/classes/Tools.php
index 4a4bb3cb1f61d..f36d7e159ee63 100644
--- a/classes/Tools.php
+++ b/classes/Tools.php
@@ -4264,8 +4264,8 @@ public static function getPath($url_base, $id_category, $path = '', $highlight =
$n = 1;
$n_categories = (int) count($categories);
foreach ($categories as $category) {
- $action = (($category['id_category'] == (int) Configuration::get('PS_HOME_CATEGORY') || $home) ? 'admin_categories_index' : 'admin_categories_edit');
- $link = Context::getContext()->link->getAdminLink('AdminCategories',true, array('route'=>$action,'categoryId'=>(int) $category['id_category']));
+ $action = (($category['id_category'] == (int) Configuration::get('PS_HOME_CATEGORY') || $home) ? 'index' : 'updatecategory');
+ $link = Context::getContext()->link->getAdminLink('AdminCategories',true, array('action'=> $action,'categoryId'=> (int) $category['id_category']));
$edit = ' ';
$full_path .= $edit .
($n < $n_categories ? '' : '') .
diff --git a/src/PrestaShopBundle/Resources/config/routing/admin/sell/catalog/categories.yml b/src/PrestaShopBundle/Resources/config/routing/admin/sell/catalog/categories.yml
index ab18b6c3683e3..6ef58f85933f9 100644
--- a/src/PrestaShopBundle/Resources/config/routing/admin/sell/catalog/categories.yml
+++ b/src/PrestaShopBundle/Resources/config/routing/admin/sell/catalog/categories.yml
@@ -5,6 +5,8 @@ admin_categories_index:
_controller: PrestaShopBundle:Admin\Sell\Catalog\Category:index
_legacy_controller: AdminCategories
_legacy_link: AdminCategories
+ _legacy_parameters:
+ id_category: categoryId
categoryId: null
requirements:
categoryId: '\d+'