[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:
Marc Alexander
2015-01-04 16:09:43 +01:00
parent c08f728fe4
commit 2640fea635
8 changed files with 73 additions and 49 deletions

View File

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

View File

@@ -68,6 +68,7 @@ services:
arguments:
- @auth
- @config
- @controller.helper
- @request
board3.portal.columns: