refactoring for fetching content

This commit is contained in:
Nicolas Lœuillet
2015-01-26 22:15:19 +01:00
parent ad4d1caa9e
commit 6b767d1cc0
6 changed files with 135 additions and 12 deletions

View File

@ -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();

View File

@ -4,4 +4,4 @@ app:
homepage:
pattern: /
defaults: { _controller: CoreBundle:Entry:showUnread }
defaults: { _controller: WallabagCoreBundle:Entry:showUnread }

View File

@ -15,8 +15,4 @@ _errors:
prefix: /_error
_main:
resource: routing.yml
# AcmeDemoBundle routes (to be removed)
_acme_demo:
resource: "@AcmeDemoBundle/Resources/config/routing.yml"
resource: routing.yml