diff --git a/Resources/config/routing_41/all.xml b/Resources/config/routing_41/all.xml new file mode 100644 index 0000000000..3550ded2ce --- /dev/null +++ b/Resources/config/routing_41/all.xml @@ -0,0 +1,21 @@ + + + + + + + + + + diff --git a/Resources/config/routing_41/change_password.xml b/Resources/config/routing_41/change_password.xml new file mode 100644 index 0000000000..456e1fa32b --- /dev/null +++ b/Resources/config/routing_41/change_password.xml @@ -0,0 +1,11 @@ + + + + + + fos_user.change_password.controller::changePasswordAction + + + diff --git a/Resources/config/routing_41/group.xml b/Resources/config/routing_41/group.xml new file mode 100644 index 0000000000..ebd0d02fc0 --- /dev/null +++ b/Resources/config/routing_41/group.xml @@ -0,0 +1,27 @@ + + + + + + fos_user.group.controller::listAction + + + + fos_user.group.controller::newAction + + + + fos_user.group.controller::showAction + + + + fos_user.group.controller::editAction + + + + fos_user.group.controller::deleteAction + + + diff --git a/Resources/config/routing_41/profile.xml b/Resources/config/routing_41/profile.xml new file mode 100644 index 0000000000..390c392f14 --- /dev/null +++ b/Resources/config/routing_41/profile.xml @@ -0,0 +1,15 @@ + + + + + + fos_user.profile.controller::showAction + + + + fos_user.profile.controller::editAction + + + diff --git a/Resources/config/routing_41/registration.xml b/Resources/config/routing_41/registration.xml new file mode 100644 index 0000000000..411760d641 --- /dev/null +++ b/Resources/config/routing_41/registration.xml @@ -0,0 +1,23 @@ + + + + + + fos_user.registration.controller::registerAction + + + + fos_user.registration.controller::checkEmailAction + + + + fos_user.registration.controller::confirmAction + + + + fos_user.registration.controller::confirmedAction + + + diff --git a/Resources/config/routing_41/resetting.xml b/Resources/config/routing_41/resetting.xml new file mode 100644 index 0000000000..b11a2360e8 --- /dev/null +++ b/Resources/config/routing_41/resetting.xml @@ -0,0 +1,23 @@ + + + + + + fos_user.resetting.controller::requestAction + + + + fos_user.resetting.controller::sendEmailAction + + + + fos_user.resetting.controller::checkEmailAction + + + + fos_user.resetting.controller::resetAction + + + diff --git a/Resources/config/routing_41/security.xml b/Resources/config/routing_41/security.xml new file mode 100644 index 0000000000..beeb036491 --- /dev/null +++ b/Resources/config/routing_41/security.xml @@ -0,0 +1,19 @@ + + + + + + fos_user.security.controller::loginAction + + + + fos_user.security.controller::checkAction + + + + fos_user.security.controller::logoutAction + + + diff --git a/Resources/doc/index.rst b/Resources/doc/index.rst index cb46c855a9..9998702e7d 100644 --- a/Resources/doc/index.rst +++ b/Resources/doc/index.rst @@ -383,6 +383,8 @@ import the FOSUserBundle routing files. By importing the routing files you will have ready made pages for things such as logging in, creating users, etc. +Use `routing_41` instead of `rounting` for `Symfony4.1`. + .. configuration-block:: .. code-block:: yaml diff --git a/Resources/doc/routing.rst b/Resources/doc/routing.rst index 03f86d23c7..26a8c85dcd 100644 --- a/Resources/doc/routing.rst +++ b/Resources/doc/routing.rst @@ -3,9 +3,12 @@ Advanced routing configuration By default, the routing file ``@FOSUserBundle/Resources/config/routing/all.xml`` imports all the routing files (except groups) and enables all the routes. +Use ``@FOSUserBundle/Resources/config/routing_41/all.xml`` for `Symfony4.1`. In the case you want to enable or disable the different available routes, just use the single routing configuration files. +Use `routing_41` instead of `routing` for `Symfony4.1`. + .. configuration-block:: .. code-block:: yaml