Skip to content

Commit

Permalink
Fix "referencing controllers with a single colon is deprecated" (Frie…
Browse files Browse the repository at this point in the history
…ndsOfSymfony#662)

This commit is the same as FriendsOfSymfony#592
However now SF <4.4 are officially not supported this should not break BC.
  • Loading branch information
GKFX authored Oct 4, 2020
1 parent 9462735 commit 72c5e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Resources/config/routing/authorize.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">

<route id="fos_oauth_server_authorize" path="/oauth/v2/auth" methods="GET POST">
<default key="_controller">fos_oauth_server.controller.authorize:authorizeAction</default>
<default key="_controller">fos_oauth_server.controller.authorize::authorizeAction</default>
</route>

</routes>
2 changes: 1 addition & 1 deletion Resources/config/routing/token.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">

<route id="fos_oauth_server_token" path="/oauth/v2/token" methods="GET POST">
<default key="_controller">fos_oauth_server.controller.token:tokenAction</default>
<default key="_controller">fos_oauth_server.controller.token::tokenAction</default>
</route>

</routes>

0 comments on commit 72c5e40

Please sign in to comment.