|
@@ -39,8 +39,7 @@ |
|
|
block discarded – undo |
|
39
|
39
|
]); |
|
40
|
40
|
|
|
41
|
41
|
foreach ($modules as $module) { |
|
42
|
|
- $navigation = json_decode(file_get_contents($this->get("ribs_admin.globals")->getBaseBundlePath |
|
43
|
|
- ($module->getPackageName()) . "/Resources/json/navigation.json"), true); |
|
|
42
|
+ $navigation = json_decode(file_get_contents($this->get("ribs_admin.globals")->getBaseBundlePath($module->getPackageName()) . "/Resources/json/navigation.json"), true); |
|
44
|
43
|
|
|
45
|
44
|
foreach ($navigation["items"] as $item) { |
|
46
|
45
|
if ($this->get("ribs_admin.acess_rights")->testRight($item["right"])) { |
Please login to merge, or discard this patch.