Skip to content

Commit

Permalink
Properly inject failure_status_code when controller is enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobz committed Jul 31, 2019
1 parent 831c5da commit 5366331
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DependencyInjection/LiipMonitorExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public function load(array $configs, ContainerBuilder $container)

if ($config['enable_controller']) {
$container->setParameter(sprintf('%s.view_template', $this->getAlias()), $config['view_template']);
$container->setParameter(sprintf('%s.failure_status_code', $this->getAlias()), $config['failure_status_code']);
$loader->load('controller.xml');
}

Expand Down

0 comments on commit 5366331

Please sign in to comment.