1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

[ticket/13647] Move FAQ page to a controller

PHPBB3-13647
This commit is contained in:
Joas Schilling
2015-02-22 20:17:37 +01:00
parent 71eb981a81
commit 0595ab959c
6 changed files with 182 additions and 86 deletions

View File

@@ -8,6 +8,7 @@ imports:
- { resource: services_db.yml }
- { resource: services_event.yml }
- { resource: services_feed.yml }
- { resource: services_help.yml }
- { resource: services_mimetype_guesser.yml }
- { resource: services_notification.yml }
- { resource: services_password.yml }

View File

@@ -0,0 +1,10 @@
services:
phpbb.help.controller:
class: phpbb\help\controller\help
arguments:
- @controller.helper
- @dispatcher
- @template
- @user
- %core.root_path%
- %core.php_ext%

View File

@@ -0,0 +1,3 @@
phpbb_help_controller:
path: /{mode}
defaults: { _controller: phpbb.help.controller:handle }

View File

@@ -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