1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/13389] Replace pattern with path

PHPBB3-13389
This commit is contained in:
Tristan Darricau
2014-11-26 12:24:50 +01:00
parent aa3a46a35f
commit 90012c86e8
8 changed files with 18 additions and 18 deletions

View File

@@ -1,35 +1,35 @@
foo_bar_controller:
pattern: /foo/bar
path: /foo/bar
defaults: { _controller: foo_bar.controller:handle }
foo_baz_controller:
pattern: /foo/baz
path: /foo/baz
defaults: { _controller: foo_bar.controller:baz }
foo_template_controller:
pattern: /foo/template
path: /foo/template
defaults: { _controller: foo_bar.controller:template }
foo_exception_controller:
pattern: /foo/exception
path: /foo/exception
defaults: { _controller: foo_bar.controller:exception }
foo_login_redirect_controller:
pattern: /foo/login_redirect
path: /foo/login_redirect
defaults: { _controller: foo_bar.controller:login_redirect }
foo_redirect_controller:
pattern: /foo/redirect
path: /foo/redirect
defaults: { _controller: foo_bar.controller:redirect }
foo_index_controller:
pattern: /index
path: /index
defaults: { _controller: foo_bar.controller:redirect }
foo_tests_index_controller:
pattern: /tests/index
path: /tests/index
defaults: { _controller: foo_bar.controller:redirect }
foo_tests_dotdot_index_controller:
pattern: /tests/../index
path: /tests/../index
defaults: { _controller: foo_bar.controller:redirect }

View File

@@ -1,3 +1,3 @@
foo_foo_controller:
pattern: /foo
path: /foo
defaults: { _controller: foo_foo.controller:handle }