diff --git a/src/NetteOpauth/NetteOpauth.php b/src/NetteOpauth/NetteOpauth.php index f160627..96cd19c 100644 --- a/src/NetteOpauth/NetteOpauth.php +++ b/src/NetteOpauth/NetteOpauth.php @@ -123,12 +123,12 @@ public function callback($strategy) */ public static function register($router) { - $router[] = new Route('/auth/logout', 'Auth:logout'); - $router[] = new Route('/auth/callback', 'Auth:callback'); - $router[] = new Route('/auth/', 'Auth:auth'); - $router[] = new Route('/auth//oauth2callback', 'Auth:auth'); - $router[] = new Route('/auth//oauth_callback', 'Auth:auth'); - $router[] = new Route('/auth//int_callback', 'Auth:auth'); + $router[] = new Route('auth/logout', 'Auth:logout'); + $router[] = new Route('auth/callback', 'Auth:callback'); + $router[] = new Route('auth/', 'Auth:auth'); + $router[] = new Route('auth//oauth2callback', 'Auth:auth'); + $router[] = new Route('auth//oauth_callback', 'Auth:auth'); + $router[] = new Route('auth//int_callback', 'Auth:auth'); } /**