File tree Expand file tree Collapse file tree 9 files changed +144
-0
lines changed Expand file tree Collapse file tree 9 files changed +144
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <routes xmlns =" http://symfony.com/schema/routing"
4
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi : schemaLocation =" http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd" >
6
+
7
+ <import
8
+ resource =" @FOSUserBundle/Resources/config/routing_41/security.xml" />
9
+ <import
10
+ resource =" @FOSUserBundle/Resources/config/routing_41/profile.xml"
11
+ prefix =" /profile" />
12
+ <import
13
+ resource =" @FOSUserBundle/Resources/config/routing_41/registration.xml"
14
+ prefix =" /register" />
15
+ <import
16
+ resource =" @FOSUserBundle/Resources/config/routing_41/resetting.xml"
17
+ prefix =" /resetting" />
18
+ <import
19
+ resource =" @FOSUserBundle/Resources/config/routing_41/change_password.xml"
20
+ prefix =" /profile" />
21
+ </routes >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <routes xmlns =" http://symfony.com/schema/routing"
4
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi : schemaLocation =" http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd" >
6
+
7
+ <route id =" fos_user_change_password" path =" /change-password" methods =" GET POST" >
8
+ <default key =" _controller" >fos_user.change_password.controller::changePasswordAction</default >
9
+ </route >
10
+
11
+ </routes >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <routes xmlns =" http://symfony.com/schema/routing"
4
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi : schemaLocation =" http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd" >
6
+
7
+ <route id =" fos_user_group_list" path =" /list" methods =" GET" >
8
+ <default key =" _controller" >fos_user.group.controller::listAction</default >
9
+ </route >
10
+
11
+ <route id =" fos_user_group_new" path =" /new" methods =" GET POST" >
12
+ <default key =" _controller" >fos_user.group.controller::newAction</default >
13
+ </route >
14
+
15
+ <route id =" fos_user_group_show" path =" /{groupName}" methods =" GET" >
16
+ <default key =" _controller" >fos_user.group.controller::showAction</default >
17
+ </route >
18
+
19
+ <route id =" fos_user_group_edit" path =" /{groupName}/edit" methods =" GET POST" >
20
+ <default key =" _controller" >fos_user.group.controller::editAction</default >
21
+ </route >
22
+
23
+ <route id =" fos_user_group_delete" path =" /{groupName}/delete" methods =" GET" >
24
+ <default key =" _controller" >fos_user.group.controller::deleteAction</default >
25
+ </route >
26
+
27
+ </routes >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <routes xmlns =" http://symfony.com/schema/routing"
4
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi : schemaLocation =" http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd" >
6
+
7
+ <route id =" fos_user_profile_show" path =" /" methods =" GET" >
8
+ <default key =" _controller" >fos_user.profile.controller::showAction</default >
9
+ </route >
10
+
11
+ <route id =" fos_user_profile_edit" path =" /edit" methods =" GET POST" >
12
+ <default key =" _controller" >fos_user.profile.controller::editAction</default >
13
+ </route >
14
+
15
+ </routes >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <routes xmlns =" http://symfony.com/schema/routing"
4
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi : schemaLocation =" http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd" >
6
+
7
+ <route id =" fos_user_registration_register" path =" /" methods =" GET POST" >
8
+ <default key =" _controller" >fos_user.registration.controller::registerAction</default >
9
+ </route >
10
+
11
+ <route id =" fos_user_registration_check_email" path =" /check-email" methods =" GET" >
12
+ <default key =" _controller" >fos_user.registration.controller::checkEmailAction</default >
13
+ </route >
14
+
15
+ <route id =" fos_user_registration_confirm" path =" /confirm/{token}" methods =" GET" >
16
+ <default key =" _controller" >fos_user.registration.controller::confirmAction</default >
17
+ </route >
18
+
19
+ <route id =" fos_user_registration_confirmed" path =" /confirmed" methods =" GET" >
20
+ <default key =" _controller" >fos_user.registration.controller::confirmedAction</default >
21
+ </route >
22
+
23
+ </routes >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <routes xmlns =" http://symfony.com/schema/routing"
4
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi : schemaLocation =" http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd" >
6
+
7
+ <route id =" fos_user_resetting_request" path =" /request" methods =" GET" >
8
+ <default key =" _controller" >fos_user.resetting.controller::requestAction</default >
9
+ </route >
10
+
11
+ <route id =" fos_user_resetting_send_email" path =" /send-email" methods =" POST" >
12
+ <default key =" _controller" >fos_user.resetting.controller::sendEmailAction</default >
13
+ </route >
14
+
15
+ <route id =" fos_user_resetting_check_email" path =" /check-email" methods =" GET" >
16
+ <default key =" _controller" >fos_user.resetting.controller::checkEmailAction</default >
17
+ </route >
18
+
19
+ <route id =" fos_user_resetting_reset" path =" /reset/{token}" methods =" GET POST" >
20
+ <default key =" _controller" >fos_user.resetting.controller::resetAction</default >
21
+ </route >
22
+
23
+ </routes >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <routes xmlns =" http://symfony.com/schema/routing"
4
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi : schemaLocation =" http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd" >
6
+
7
+ <route id =" fos_user_security_login" path =" /login" methods =" GET POST" >
8
+ <default key =" _controller" >fos_user.security.controller::loginAction</default >
9
+ </route >
10
+
11
+ <route id =" fos_user_security_check" path =" /login_check" methods =" POST" >
12
+ <default key =" _controller" >fos_user.security.controller::checkAction</default >
13
+ </route >
14
+
15
+ <route id =" fos_user_security_logout" path =" /logout" methods =" GET POST" >
16
+ <default key =" _controller" >fos_user.security.controller::logoutAction</default >
17
+ </route >
18
+
19
+ </routes >
Original file line number Diff line number Diff line change @@ -383,6 +383,8 @@ import the FOSUserBundle routing files.
383
383
By importing the routing files you will have ready made pages for things such as
384
384
logging in, creating users, etc.
385
385
386
+ Use `routing_41 ` instead of `rounting ` for `Symfony4.1 `.
387
+
386
388
.. configuration-block ::
387
389
388
390
.. code-block :: yaml
Original file line number Diff line number Diff line change @@ -3,9 +3,12 @@ Advanced routing configuration
3
3
4
4
By default, the routing file ``@FOSUserBundle/Resources/config/routing/all.xml `` imports
5
5
all the routing files (except groups) and enables all the routes.
6
+ Use ``@FOSUserBundle/Resources/config/routing_41/all.xml `` for `Symfony4.1 `.
6
7
In the case you want to enable or disable the different available routes, just use the
7
8
single routing configuration files.
8
9
10
+ Use `routing_41 ` instead of `routing ` for `Symfony4.1 `.
11
+
9
12
.. configuration-block ::
10
13
11
14
.. code-block :: yaml
You can’t perform that action at this time.
0 commit comments