Skip to content

Commit

Permalink
fix: InvalidArgumentException: The service definition "fos_twitter" d…
Browse files Browse the repository at this point in the history
…oes not exist.
  • Loading branch information
Koc committed Mar 28, 2012
1 parent 213d4a7 commit ec6f4b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/FOSTwitterExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function load(array $configs, ContainerBuilder $container)
$this->loadDefaults($container);

if (isset($config['alias'])) {
$container->setAlias($config['alias'], 'fos_twitter');
$container->setAlias($config['alias'], 'fos_twitter.service');
}

foreach (array('file', 'consumer_key', 'consumer_secret', 'callback_url', 'anywhere_version') as $attribute) {
Expand Down

0 comments on commit ec6f4b7

Please sign in to comment.