Commit d4ef9b27 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Erreur de route

parent 754c02eb
Loading
Loading
Loading
Loading
+2 −2
Changes for module/Application/src/View/Helper/EtablissementViewHelper.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -85,8 +85,8 @@ class EtablissementViewHelper extends AbstractHelper
            return '<p class="bg-danger"><abbr title="Cet établissement n\'existe plus">' . $etablissement . '</abbr></p>';
        }

        $url   = $this->getView()->url('etablissement/default', ['action' => 'voir', 'id' => $etablissement->getId()]);
        $pourl = $this->getView()->url('etablissement/default', ['action' => 'apercevoir', 'id' => $etablissement->getId()]);
        $url   = $this->getView()->url('etablissement', ['action' => 'voir', 'id' => $etablissement->getId()]);
        $pourl = $this->getView()->url('etablissement', ['action' => 'apercevoir', 'id' => $etablissement->getId()]);
        $out   = '<a href="' . $url . '" data-po-href="' . $pourl . '" class="ajax-modal">' . $etablissement . '</a>';

        return $out;