Permalink
Browse files

replaced usage of the deprecated pattern routing key (replaced with p…

…ath)
  • Loading branch information...
1 parent 2880e30 commit a800e69750944ba212cfa6b03aefb3de8af964ce @fabpot fabpot committed Feb 6, 2013
@@ -1,30 +1,30 @@
form_login:
- pattern: /login
+ path: /login
defaults: { _controller: CsrfFormLoginBundle:Login:login }
form_login_check:
- pattern: /login_check
+ path: /login_check
defaults: { _controller: CsrfFormLoginBundle:Login:loginCheck }
form_login_homepage:
- pattern: /
+ path: /
defaults: { _controller: CsrfFormLoginBundle:Login:afterLogin }
form_login_custom_target_path:
- pattern: /foo
+ path: /foo
defaults: { _controller: CsrfFormLoginBundle:Login:afterLogin }
form_login_default_target_path:
- pattern: /profile
+ path: /profile
defaults: { _controller: CsrfFormLoginBundle:Login:afterLogin }
form_login_redirect_to_protected_resource_after_login:
- pattern: /protected-resource
+ path: /protected-resource
defaults: { _controller: CsrfFormLoginBundle:Login:afterLogin }
form_logout:
- pattern: /logout_path
+ path: /logout_path
form_secure_action:
- pattern: /secure-but-not-covered-by-access-control
+ path: /secure-but-not-covered-by-access-control
defaults: { _controller: CsrfFormLoginBundle:Login:secure }
@@ -1,29 +1,29 @@
localized_login_path:
- pattern: /{_locale}/login
+ path: /{_locale}/login
defaults: { _controller: FormLoginBundle:Localized:login }
requirements: { _locale: "^[a-z]{2}$" }
localized_check_path:
- pattern: /{_locale}/login_check
+ path: /{_locale}/login_check
defaults: { _controller: FormLoginBundle:Localized:loginCheck }
requirements: { _locale: "^[a-z]{2}$" }
localized_default_target_path:
- pattern: /{_locale}/profile
+ path: /{_locale}/profile
defaults: { _controller: FormLoginBundle:Localized:profile }
requirements: { _locale: "^[a-z]{2}$" }
localized_logout_path:
- pattern: /{_locale}/logout
+ path: /{_locale}/logout
defaults: { _controller: FormLoginBundle:Localized:logout }
requirements: { _locale: "^[a-z]{2}$" }
localized_logout_target_path:
- pattern: /{_locale}/
+ path: /{_locale}/
defaults: { _controller: FormLoginBundle:Localized:homepage }
requirements: { _locale: "^[a-z]{2}$" }
localized_secure_path:
- pattern: /{_locale}/secure/
+ path: /{_locale}/secure/
defaults: { _controller: FormLoginBundle:Localized:secure }
requirements: { _locale: "^[a-z]{2}$" }
@@ -1,33 +1,33 @@
form_login:
- pattern: /login
+ path: /login
defaults: { _controller: FormLoginBundle:Login:login }
form_login_check:
- pattern: /login_check
+ path: /login_check
defaults: { _controller: FormLoginBundle:Login:loginCheck }
form_login_homepage:
- pattern: /
+ path: /
defaults: { _controller: FormLoginBundle:Login:afterLogin }
form_login_custom_target_path:
- pattern: /foo
+ path: /foo
defaults: { _controller: FormLoginBundle:Login:afterLogin }
form_login_default_target_path:
- pattern: /profile
+ path: /profile
defaults: { _controller: FormLoginBundle:Login:afterLogin }
form_login_redirect_to_protected_resource_after_login:
- pattern: /protected_resource
+ path: /protected_resource
defaults: { _controller: FormLoginBundle:Login:afterLogin }
highly_protected_resource:
- pattern: /highly_protected_resource
+ path: /highly_protected_resource
form_logout:
- pattern: /logout_path
+ path: /logout_path
form_secure_action:
- pattern: /secure-but-not-covered-by-access-control
+ path: /secure-but-not-covered-by-access-control
defaults: { _controller: FormLoginBundle:Login:secure }

0 comments on commit a800e69

Please sign in to comment.