Commit 327f5b37 authored by Thomas Hamel's avatar Thomas Hamel
Browse files

fix index etab cassé

parent d06f8148
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Structure/config/others/variable.config.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ return [
                            ],
                        ],
                    ],
                    'supprimer' => [
                    'supprimer-variable' => [
                        'type'          => Segment::class,
                        'options'       => [
                            'route'       => '/supprimer/:id',
+1 −1
Changes for module/Structure/view/structure/variable/index.phtml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ $canModifier = $this->isAllowed(StructurePrivileges::getResourceId(StructurePriv
                        ?>
                        <a  <?php /**  @see \Structure\Controller\VariableController::supprimerAction() */ ?>
                                data-event="modification" data-toggle="confirmationx"
                                href="<?php echo $this->url('etablissement/supprimer', ['id' => $variable->getId()], ['query' => ['redirect' => $redirectUrl]], true); ?>"
                                href="<?php echo $this->url('etablissement/supprimer-variable', ['id' => $variable->getId()], ['query' => ['redirect' => $redirectUrl]], true); ?>"
                        >
                                <span class="icon icon-delete iconly float-end" style="color:darkred;"
                                      title="Supprimer la variable"></span>