Use new request stack. Addresses #9.
This commit is contained in:
parent
4d3a4df647
commit
f2e21f3a1a
4 changed files with 4 additions and 5 deletions
|
|
@ -71,7 +71,7 @@ class AdvancedSearchForm extends FormBase {
|
|||
*/
|
||||
public static function create(ContainerInterface $container) {
|
||||
return new static(
|
||||
$container->get('request_stack')->getMasterRequest(),
|
||||
$container->get('request_stack')->getMainRequest(),
|
||||
$container->get('current_route_match')
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue