Skip to content

Commit

Permalink
Merge pull request #1065 from FriendsOfSymfony/1.6
Browse files Browse the repository at this point in the history
1.6
  • Loading branch information
lsmith77 committed Jun 10, 2015
2 parents 2b2b43e + 81966a0 commit 12cc43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/FOSRestExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private function loadAccessDeniedListener(array $config, XmlFileLoader $loader,
$loader->load('access_denied_listener.xml');

if (!empty($config['access_denied_listener']['service'])) {
$service = $container->getDefinition('fos_rest.allowed_methods_listener');
$service = $container->getDefinition('fos_rest.access_denied_listener');
$service->clearTag('kernel.event_listener');
}

Expand Down

0 comments on commit 12cc43d

Please sign in to comment.