From 6b767d1cc0e9697af95ec399fd612d203d10826a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 26 Jan 2015 22:15:19 +0100 Subject: refactoring for fetching content --- app/AppKernel.php | 2 -- app/config/routing.yml | 2 +- app/config/routing_dev.yml | 6 +----- 3 files changed, 2 insertions(+), 8 deletions(-) (limited to 'app') diff --git a/app/AppKernel.php b/app/AppKernel.php index b0a66dad..f0383038 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -16,13 +16,11 @@ class AppKernel extends Kernel new Symfony\Bundle\AsseticBundle\AsseticBundle(), new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), - new AppBundle\AppBundle(), new Wallabag\CoreBundle\WallabagCoreBundle(), ); if (in_array($this->getEnvironment(), array('dev', 'test'))) { $bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle(); - $bundles[] = new Acme\DemoBundle\AcmeDemoBundle(); $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(); $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(); diff --git a/app/config/routing.yml b/app/config/routing.yml index b3c5291a..95c224ab 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -4,4 +4,4 @@ app: homepage: pattern: / - defaults: { _controller: CoreBundle:Entry:showUnread } \ No newline at end of file + defaults: { _controller: WallabagCoreBundle:Entry:showUnread } \ No newline at end of file diff --git a/app/config/routing_dev.yml b/app/config/routing_dev.yml index 99130058..1a236e28 100644 --- a/app/config/routing_dev.yml +++ b/app/config/routing_dev.yml @@ -15,8 +15,4 @@ _errors: prefix: /_error _main: - resource: routing.yml - -# AcmeDemoBundle routes (to be removed) -_acme_demo: - resource: "@AcmeDemoBundle/Resources/config/routing.yml" \ No newline at end of file + resource: routing.yml \ No newline at end of file -- cgit v1.2.3