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