|
@@ -45,7 +45,7 @@ class RedirectController extends ContainerAware
|
|
|
$attributes = $this->container->get('request')->attributes->all();
|
|
|
unset($attributes['_route'], $attributes['route'], $attributes['permanent'] );
|
|
|
|
|
|
- return new RedirectResponse($this->container->get('router')->generate($route, $attributes), $permanent ? 301 : 302);
|
|
|
+ return new RedirectResponse($this->container->get('router')->generate($route, $attributes, true), $permanent ? 301 : 302);
|
|
|
}
|
|
|
|
|
|
/**
|