aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default/routing
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-03-05 15:25:30 +0100
committerMarc Alexander <admin@m-a-styles.de>2015-03-05 15:25:30 +0100
commit7c26cd25c7526cf9ab0bd2915f08e2b8d66a59fb (patch)
tree19d1b86fa6ef3334224ada4a2cfd2546778dec7b /phpBB/config/default/routing
parent87ca5ef7e5610c72efcb3fd92d415082004d5ae2 (diff)
parent7e0d54a331ccb569dafeae8b051db5a34e177b5f (diff)
downloadforums-7c26cd25c7526cf9ab0bd2915f08e2b8d66a59fb.tar
forums-7c26cd25c7526cf9ab0bd2915f08e2b8d66a59fb.tar.gz
forums-7c26cd25c7526cf9ab0bd2915f08e2b8d66a59fb.tar.bz2
forums-7c26cd25c7526cf9ab0bd2915f08e2b8d66a59fb.tar.xz
forums-7c26cd25c7526cf9ab0bd2915f08e2b8d66a59fb.zip
Merge pull request #3434 from nickvergessen/ticket/13647
[ticket/13647] Move FAQ page to a controller
Diffstat (limited to 'phpBB/config/default/routing')
-rw-r--r--phpBB/config/default/routing/help.yml3
-rw-r--r--phpBB/config/default/routing/routing.yml4
2 files changed, 7 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
index 94146e1ec2..d6881f1959 100644
--- a/phpBB/config/default/routing/routing.yml
+++ b/phpBB/config/default/routing/routing.yml
@@ -7,3 +7,7 @@
# 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