From d7b18ebd35905552ec2b51d01f8fefb7e9939e49 Mon Sep 17 00:00:00 2001 From: michalsvec Date: Fri, 15 Aug 2014 16:10:01 +0200 Subject: [PATCH] Removed useless slashes Removed useless slashes at the beginning of route definition --- src/NetteOpauth/NetteOpauth.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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'); } /**