[ticket/436] Generate routes with modules_helper and remove use of app.php
Modules should generate routes with the modules helper instead of directly creating links to app.php. B3P-436
This commit is contained in:
@@ -14,7 +14,6 @@ services:
|
||||
- %core.root_path%
|
||||
- @user
|
||||
- @board3.portal.fetch_posts
|
||||
- @controller.helper
|
||||
tags:
|
||||
- { name: board3.portal.module }
|
||||
|
||||
@@ -47,6 +46,7 @@ services:
|
||||
class: board3\portal\modules\calendar
|
||||
arguments:
|
||||
- @config
|
||||
- @board3.portal.modules_helper
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- @request
|
||||
@@ -211,6 +211,7 @@ services:
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
- @board3.portal.modules_helper
|
||||
tags:
|
||||
- { name: board3.portal.module }
|
||||
|
||||
@@ -260,11 +261,10 @@ services:
|
||||
class: board3\portal\modules\stylechanger
|
||||
arguments:
|
||||
- @config
|
||||
- @board3.portal.modules_helper
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- @request
|
||||
- %core.php_ext%
|
||||
- %core.root_path%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.portal.module }
|
||||
|
||||
@@ -68,6 +68,7 @@ services:
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @controller.helper
|
||||
- @request
|
||||
|
||||
board3.portal.columns:
|
||||
|
||||
Reference in New Issue
Block a user