Skip to content

Commit

Permalink
fix name collision
Browse files Browse the repository at this point in the history
  • Loading branch information
alanbem committed Aug 28, 2011
1 parent cf8361a commit 6c52612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Route/AdminPoolLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace Sonata\AdminBundle\Route;

use Symfony\Component\Routing\RouteCollection;
use Symfony\Component\Routing\RouteCollection as SymfonyRouteCollection;
use Symfony\Component\Routing\Route;

use Symfony\Component\Config\Loader\FileLoader;
Expand Down Expand Up @@ -65,7 +65,7 @@ public function supports($resource, $type = null)
*/
public function load($resource, $type = null)
{
$collection = new RouteCollection;
$collection = new SymfonyRouteCollection;
foreach ($this->adminServiceIds as $id) {

$admin = $this->pool->getInstance($id);
Expand Down

0 comments on commit 6c52612

Please sign in to comment.