Browse Source

Correctifs urls

develop
Guillaume 3 years ago
parent
commit
51e83619c3
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      Controller/Security/SecurityAdminController.php
  2. +1
    -1
      Resources/views/adminlte/block/navbar_header.html.twig

+ 1
- 1
Controller/Security/SecurityAdminController.php View File

@@ -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 View File

@@ -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

Loading…
Cancel
Save