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:
@@ -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%
|
||||
|
@@ -1,3 +1,6 @@
|
||||
phpbb_help_controller:
|
||||
path: /bbcode
|
||||
defaults: { _controller: phpbb.help.controller.bbcode:handle }
|
||||
|
||||
path: /{mode}
|
||||
defaults: { _controller: phpbb.help.controller:handle }
|
||||
|
Reference in New Issue
Block a user