From 72c5e4041c35555f001cd1c74ee716050a99e929 Mon Sep 17 00:00:00 2001 From: George Bateman Date: Sun, 4 Oct 2020 06:07:29 +0100 Subject: [PATCH] Fix "referencing controllers with a single colon is deprecated" (#662) This commit is the same as https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/pull/592 However now SF <4.4 are officially not supported this should not break BC. --- Resources/config/routing/authorize.xml | 2 +- Resources/config/routing/token.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/config/routing/authorize.xml b/Resources/config/routing/authorize.xml index 17bc4030..589ae10b 100644 --- a/Resources/config/routing/authorize.xml +++ b/Resources/config/routing/authorize.xml @@ -5,7 +5,7 @@ xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> - fos_oauth_server.controller.authorize:authorizeAction + fos_oauth_server.controller.authorize::authorizeAction diff --git a/Resources/config/routing/token.xml b/Resources/config/routing/token.xml index 58103d1b..24368492 100644 --- a/Resources/config/routing/token.xml +++ b/Resources/config/routing/token.xml @@ -5,7 +5,7 @@ xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> - fos_oauth_server.controller.token:tokenAction + fos_oauth_server.controller.token::tokenAction