Remove bundle inheritance

This commit is contained in:
Yassine Guedidi 2022-04-24 05:56:44 +02:00
parent 88fd7afeb5
commit 82fc828442
11 changed files with 12 additions and 4 deletions

View file

@ -41,6 +41,18 @@ homepage:
fos_user: fos_user:
resource: "@FOSUserBundle/Resources/config/routing/all.xml" resource: "@FOSUserBundle/Resources/config/routing/all.xml"
fos_user_security_login:
path: /login
defaults:
_controller: Wallabag\UserBundle\Controller\SecurityController::loginAction
methods: [GET, POST]
fos_user_registration_register:
path: /register
defaults:
_controller: Wallabag\UserBundle\Controller\RegistrationController::registerAction
methods: [GET, POST]
fos_oauth_server_token: fos_oauth_server_token:
resource: "@FOSOAuthServerBundle/Resources/config/routing/token.xml" resource: "@FOSOAuthServerBundle/Resources/config/routing/token.xml"

View file

@ -6,8 +6,4 @@ use Symfony\Component\HttpKernel\Bundle\Bundle;
class WallabagUserBundle extends Bundle class WallabagUserBundle extends Bundle
{ {
public function getParent()
{
return 'FOSUserBundle';
}
} }