1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[ticket/13844] Refactor bbcode help to the new system

PHPBB3-13844
This commit is contained in:
Joas Schilling
2015-05-16 18:49:32 +02:00
parent 5586cbbcfe
commit ff7e9dc912
5 changed files with 271 additions and 0 deletions

View File

@@ -1,4 +1,10 @@
services:
phpbb.help.manager:
class: phpbb\help\manager
arguments:
- @template
- @language
phpbb.help.controller:
class: phpbb\help\controller\help
arguments:
@@ -8,3 +14,14 @@ services:
- @user
- %core.root_path%
- %core.php_ext%
phpbb.help.controller.bbcode:
class: phpbb\help\controller\bbcode
arguments:
- @controller.helper
- @dispatcher
- @phpbb.help.manager
- @template
- @language
- %core.root_path%
- %core.php_ext%

View File

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