Skip to content

Commit

Permalink
Merge pull request sonata-project#3449 from bgaleotti/issue-3091
Browse files Browse the repository at this point in the history
[AdminPoolLoader] Extend Loader instead of FileLoader to avoid deprecation message
  • Loading branch information
rande committed Dec 4, 2015
2 parents 3ddf12e + b039fd7 commit 708a075
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 @@ -12,7 +12,7 @@
namespace Sonata\AdminBundle\Route;

use Sonata\AdminBundle\Admin\Pool;
use Symfony\Component\Config\Loader\FileLoader;
use Symfony\Component\Config\Loader\Loader;
use Symfony\Component\Config\Resource\FileResource;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Routing\RouteCollection as SymfonyRouteCollection;
Expand All @@ -22,7 +22,7 @@
*
* @author Thomas Rabaix <[email protected]>
*/
class AdminPoolLoader extends FileLoader
class AdminPoolLoader extends Loader
{
const ROUTE_TYPE_NAME = 'sonata_admin';

Expand Down

0 comments on commit 708a075

Please sign in to comment.