Skip to content

Commit

Permalink
Change router
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Nares committed Jul 25, 2023
1 parent 4818ba8 commit 62aaa6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demosymfonyformsimple/demosymfonyformsimple.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct()

public function getContent()
{
$route = SymfonyContainer::getInstance()->get('router')->generate('demo_configuration_form_simple');
$route = $this->get('router')->generate('demo_configuration_form');
Tools::redirectAdmin($route);
}
}

0 comments on commit 62aaa6b

Please sign in to comment.