Skip to content

Commit

Permalink
Removed useless slashes
Browse files Browse the repository at this point in the history
Removed useless slashes at the beginning of route definition
  • Loading branch information
michalsvec committed Aug 15, 2014
1 parent 45806a1 commit d7b18eb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/NetteOpauth/NetteOpauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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/<strategy>', 'Auth:auth');
$router[] = new Route('/auth/<strategy>/oauth2callback', 'Auth:auth');
$router[] = new Route('/auth/<strategy>/oauth_callback', 'Auth:auth');
$router[] = new Route('/auth/<strategy>/int_callback', 'Auth:auth');
$router[] = new Route('auth/logout', 'Auth:logout');
$router[] = new Route('auth/callback', 'Auth:callback');
$router[] = new Route('auth/<strategy>', 'Auth:auth');
$router[] = new Route('auth/<strategy>/oauth2callback', 'Auth:auth');
$router[] = new Route('auth/<strategy>/oauth_callback', 'Auth:auth');
$router[] = new Route('auth/<strategy>/int_callback', 'Auth:auth');
}

/**
Expand Down

0 comments on commit d7b18eb

Please # to comment.