Browse Source

fixed variable typo in routing filter class.

Taylor Otwell 12 years ago
parent
commit
bf01e932c3
2 changed files with 2 additions and 2 deletions
  1. 1 1
      laravel/routing/filter.php
  2. 1 1
      public/index.php

+ 1 - 1
laravel/routing/filter.php

@@ -216,7 +216,7 @@ class Filter_Collection {
 	 */
 	public function on($methods)
 	{
-		$methos = (count(func_get_args()) > 1) ? func_get_args() : (array) $methods;
+		$methods = (count(func_get_args()) > 1) ? func_get_args() : (array) $methods;
 
 		foreach ($methods as $method)
 		{

+ 1 - 1
public/index.php

@@ -3,7 +3,7 @@
  * Laravel - A clean and classy framework for PHP web development.
  *
  * @package  Laravel
- * @version  2.0.0
+ * @version  2.0.1
  * @author   Taylor Otwell <taylorotwell@gmail.com>
  * @link     http://laravel.com
  */