aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default/routing
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/config/default/routing')
-rw-r--r--phpBB/config/default/routing/help.yml3
-rw-r--r--phpBB/config/default/routing/routing.yml13
2 files changed, 16 insertions, 0 deletions
diff --git a/phpBB/config/default/routing/help.yml b/phpBB/config/default/routing/help.yml
new file mode 100644
index 0000000000..957d6dab55
--- /dev/null
+++ b/phpBB/config/default/routing/help.yml
@@ -0,0 +1,3 @@
+phpbb_help_controller:
+ path: /{mode}
+ defaults: { _controller: phpbb.help.controller:handle }
diff --git a/phpBB/config/default/routing/routing.yml b/phpBB/config/default/routing/routing.yml
new file mode 100644
index 0000000000..d6881f1959
--- /dev/null
+++ b/phpBB/config/default/routing/routing.yml
@@ -0,0 +1,13 @@
+# Structure:
+#
+# foo_controller:
+# path: /foo
+# defaults: { _controller: foo_sevice:method }
+#
+# The above will be accessed via app.php?controller=foo and it will
+# instantiate the "foo_service" service and call the "method" method.
+#
+
+phpbb_help_routing:
+ resource: "help.yml"
+ prefix: /help