Skip to content

Commit 8066ef6

Browse files
committed
Bug fixed
Routes with :: does not work properly with Symfony 3. x if he controller is a service
1 parent 3dd26c4 commit 8066ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bundle/JoseFramework/Routing/JWKSetLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct()
3939
*/
4040
public function add(string $pattern, string $name)
4141
{
42-
$controller_id = sprintf('%s::getAction', $name);
42+
$controller_id = sprintf('%s:getAction', $name);
4343
$defaults = ['_controller' => $controller_id];
4444
$route = new Route($pattern, $defaults);
4545
$this->routes->add(sprintf('jwkset_%s', $name), $route);

0 commit comments

Comments
 (0)