Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitri Perunov <[email protected]>
  • Loading branch information
loic425 and diimpp authored Oct 4, 2024
1 parent 216799e commit f7a70f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AdminUi/config/services/twig/extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
return function (ContainerConfigurator $configurator): void {
$services = $configurator->services();

$services->set('sylius_twig_extra.twig.extension.redirect_path', RedirectPathExtension::class)
$services->set('sylius_admin_ui.twig.extension.redirect_path', RedirectPathExtension::class)
->args([
service('router'),
service('sylius.grid.filter_storage')->nullOnInvalid(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected function setUp(): void
$request->setSession($session);
$container->get('request_stack')->push($request);

$this->redirectPathExtension = $container->get('sylius_twig_extra.twig.extension.redirect_path');
$this->redirectPathExtension = $container->get('sylius_admin_ui.twig.extension.redirect_path');
$container->get('sylius.grid.filter_storage')->set(['criteria' => ['enabled' => true]]);
}

Expand Down

0 comments on commit f7a70f3

Please sign in to comment.