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

[ticket/11997] Add functional test for redirects in controller

PHPBB3-11997
This commit is contained in:
Joas Schilling
2013-11-13 12:03:06 +01:00
parent 0aed281676
commit a0fca0acc2
5 changed files with 72 additions and 1 deletions

View File

@@ -13,3 +13,7 @@ foo_template_controller:
foo_exception_controller:
pattern: /foo/exception
defaults: { _controller: foo_bar.controller:exception }
foo_redirect_controller:
pattern: /foo/redirect
defaults: { _controller: foo_bar.controller:redirect }

View File

@@ -4,3 +4,5 @@ services:
arguments:
- @controller.helper
- @template
- %core.root_path%
- %core.php_ext%