mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-30 18:39:33 -05:00
AddNew: fix link
This commit is contained in:
parent
9ec932adcd
commit
4f5969d4b7
1 changed files with 2 additions and 2 deletions
|
|
@ -19,14 +19,14 @@ class AddNewTile extends BaseElement
|
|||
public function __construct(Renderer $renderer)
|
||||
{
|
||||
$bp = $renderer->getBusinessProcess();
|
||||
$path = $renderer->getMyPath();
|
||||
$path = $renderer->getCurrentPath();
|
||||
|
||||
$params = array(
|
||||
'config' => $bp->getName()
|
||||
);
|
||||
|
||||
// Workaround for array issues
|
||||
$url = Url::fromPath('businessprocess/process/create');
|
||||
$url = Url::fromPath('businessprocess/node/add');
|
||||
$p = $url->getParams();
|
||||
$p->mergeValues($params);
|
||||
if (! empty($path)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue