@@ -46,10 +46,6 @@ class ActionsHelper extends Helper
{
$options['attributes'] = $attributes;
- if (isset($options['query'])) {
- $options['query'] = $options['query'];
- }
-
return $this->kernel->render($controller, $options);
}
@@ -192,9 +192,9 @@ abstract class Kernel implements KernelInterface
if (true === $first) {
return $this->bundleMap[$name][0];
- } elseif (false === $first) {
- return $this->bundleMap[$name];
+
+ return $this->bundleMap[$name];
/**