aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Acme/DemoBundle/Resources/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/Acme/DemoBundle/Resources/config')
-rw-r--r--src/Acme/DemoBundle/Resources/config/routing.yml12
-rw-r--r--src/Acme/DemoBundle/Resources/config/services.xml18
2 files changed, 0 insertions, 30 deletions
diff --git a/src/Acme/DemoBundle/Resources/config/routing.yml b/src/Acme/DemoBundle/Resources/config/routing.yml
deleted file mode 100644
index 06291a23..00000000
--- a/src/Acme/DemoBundle/Resources/config/routing.yml
+++ /dev/null
@@ -1,12 +0,0 @@
1_welcome:
2 path: /
3 defaults: { _controller: AcmeDemoBundle:Welcome:index }
4
5_demo_secured:
6 resource: "@AcmeDemoBundle/Controller/SecuredController.php"
7 type: annotation
8
9_demo:
10 resource: "@AcmeDemoBundle/Controller/DemoController.php"
11 type: annotation
12 prefix: /demo
diff --git a/src/Acme/DemoBundle/Resources/config/services.xml b/src/Acme/DemoBundle/Resources/config/services.xml
deleted file mode 100644
index d6274ce9..00000000
--- a/src/Acme/DemoBundle/Resources/config/services.xml
+++ /dev/null
@@ -1,18 +0,0 @@
1<?xml version="1.0" ?>
2
3<container xmlns="http://symfony.com/schema/dic/services"
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5 xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
6
7 <services>
8 <service id="twig.extension.acme.demo" class="Acme\DemoBundle\Twig\Extension\DemoExtension" public="false">
9 <tag name="twig.extension" />
10 <argument type="service" id="twig.loader" />
11 </service>
12
13 <service id="acme.demo.listener" class="Acme\DemoBundle\EventListener\ControllerListener">
14 <tag name="kernel.event_listener" event="kernel.controller" method="onKernelController" />
15 <argument type="service" id="twig.extension.acme.demo" />
16 </service>
17 </services>
18</container>