Browse Source

fix docblock.

Taylor Otwell 12 years ago
parent
commit
09e456d2bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/routing/router.php

+ 1 - 1
laravel/routing/router.php

@@ -119,7 +119,7 @@ class Router {
 	 *
 	 *
 	 * <code>
 	 * <code>
 	 *		// Register a group of URIs for an action
 	 *		// Register a group of URIs for an action
-	 *		Router::share(array('GET', '/'), array('POST', '/'), 'home@index');
+	 *		Router::share(array(array('GET', '/'), array('POST', '/')), 'home@index');
 	 * </code>
 	 * </code>
 	 *
 	 *
 	 * @param  array  $routes
 	 * @param  array  $routes