Bläddra i källkod

Correctifs urls

feature/symfony6.1
Guillaume 3 år sedan
förälder
incheckning
51e83619c3
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. +1
    -1
      Controller/Security/SecurityAdminController.php
  2. +1
    -1
      Resources/views/adminlte/block/navbar_header.html.twig

+ 1
- 1
Controller/Security/SecurityAdminController.php Visa fil

@@ -10,7 +10,7 @@ use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
class SecurityAdminController extends AbstractController
{
/**
* @Route("/login", name="sov_login")
* @Route("/user/login", name="sov_login")
*/
public function login(AuthenticationUtils $authenticationUtils): Response
{

+ 1
- 1
Resources/views/adminlte/block/navbar_header.html.twig Visa fil

@@ -45,7 +45,7 @@
</a>
</li>
<li class="nav-item">
<a href="{{ path(sov_homepage_route()) }}" class="btn btn-sm btn-block btn-outline-success" target="_blank"
<a href="{{ path(sov_homepage_route(), {section: section_slug_current()}) }}" class="btn btn-sm btn-block btn-outline-success" target="_blank"
rel="noreferrer">
<i class="action-icon fa fa-eye"></i>
Afficher le site

Laddar…
Avbryt
Spara