aboutsummaryrefslogtreecommitdiffstats
path: root/tests/controller/ext/foo
diff options
context:
space:
mode:
Diffstat (limited to 'tests/controller/ext/foo')
-rw-r--r--tests/controller/ext/foo/config/routing.yml4
-rw-r--r--tests/controller/ext/foo/config/routing_2.yml3
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/controller/ext/foo/config/routing.yml b/tests/controller/ext/foo/config/routing.yml
index 4799fec37d..6cc275d96d 100644
--- a/tests/controller/ext/foo/config/routing.yml
+++ b/tests/controller/ext/foo/config/routing.yml
@@ -1,3 +1,7 @@
controller1:
pattern: /foo
defaults: { _controller: foo.controller:handle }
+
+include_controller2:
+ resource: "routing_2.yml"
+ prefix: /foo
diff --git a/tests/controller/ext/foo/config/routing_2.yml b/tests/controller/ext/foo/config/routing_2.yml
new file mode 100644
index 0000000000..35fff27037
--- /dev/null
+++ b/tests/controller/ext/foo/config/routing_2.yml
@@ -0,0 +1,3 @@
+controller2:
+ pattern: /bar
+ defaults: { _controller: foo.controller:handle }