浏览代码

Correctifs urls

develop
Guillaume 3 年前
父节点
当前提交
51e83619c3
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      Controller/Security/SecurityAdminController.php
  2. +1
    -1
      Resources/views/adminlte/block/navbar_header.html.twig

+ 1
- 1
Controller/Security/SecurityAdminController.php 查看文件

@@ -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 查看文件

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

正在加载...
取消
保存