Skip to content

Commit

Permalink
Fixed EasyAdmin administration interface since latest updates
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed Feb 1, 2025
1 parent eb6d54d commit ab7cb38
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"symfony/property-access": "7.2.*",
"symfony/security-bundle": "7.2.*",
"symfony/framework-bundle": "7.2.*",
"symfony/ux-twig-component": "2.22.*",
"symfony/expression-language": "7.2.*",
"symfony/webpack-encore-bundle": "*"
},
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ["all" => true],
Symfony\Bundle\MonologBundle\MonologBundle::class => ["all" => true],
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ["all" => true],
Symfony\UX\TwigComponent\TwigComponentBundle::class => ["all" => true],
EasyCorp\Bundle\EasyAdminBundle\EasyAdminBundle::class => ["all" => true],
Nelmio\CorsBundle\NelmioCorsBundle::class => ["all" => true],
KnpU\OAuth2ClientBundle\KnpUOAuth2ClientBundle::class => ["all" => true],
Expand Down
4 changes: 4 additions & 0 deletions config/packages/twig_component.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
twig_component:
defaults:
App\Twig\Components\: "components/"
anonymous_template_directory: "components/"
3 changes: 3 additions & 0 deletions config/routes/easyadmin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
easyadmin:
type: easyadmin.routes
resource: .
2 changes: 1 addition & 1 deletion templates/admin.html.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{# Modèle de base #}
{% extends "@EasyAdmin/page/content.html.twig" %}
{% extends "@EasyAdmin/layout.html.twig" %}

{# Titre de la page #}
{% block content_title %}
Expand Down

0 comments on commit ab7cb38

Please sign in to comment.