[feature/controller] Add routing and services files
B3P-114
This commit is contained in:
8
root/config/routing.yml
Normal file
8
root/config/routing.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
board3_controller:
|
||||||
|
pattern: /portal
|
||||||
|
defaults: { _controller: board3.portal.main:handle }
|
||||||
|
|
||||||
|
# This is currently not supported yet
|
||||||
|
board3_pages_controller:
|
||||||
|
pattern: /portal/{page}
|
||||||
|
defaults: { _controller: board3.portal.main:handle_page, page: "portal" }
|
||||||
11
root/config/services.yml
Normal file
11
root/config/services.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
services:
|
||||||
|
|
||||||
|
board3.portal.main:
|
||||||
|
class: phpbb_ext_board3_portal_controller_main
|
||||||
|
arguments:
|
||||||
|
- @auth
|
||||||
|
- @config
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
- %core.root_path%
|
||||||
|
- .%core.php_ext%
|
||||||
Reference in New Issue
Block a user